mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
SLOW_WORK: Fix GFS2 to #include <linux/module.h> before using THIS_MODULE
GFS2 has been altered to pass THIS_MODULE to slow_work_register_user(), but hasn't been altered to #include <linux/module.h> to provide it, resulting in the following error: fs/gfs2/recovery.c:596: error: 'THIS_MODULE' undeclared here (not in a function) Add the missing #include. Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
parent
0109d7e614
commit
1c2ea8a2c0
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
* of the GNU General Public License version 2.
|
||||
*/
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/completion.h>
|
||||
|
|
Loading…
Reference in a new issue