Skip to content

Commit

Permalink
SLOW_WORK: Fix GFS2 to #include <linux/module.h> before using THIS_MO…
Browse files Browse the repository at this point in the history
…DULE

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>
  • Loading branch information
David Howells committed Nov 20, 2009
1 parent 0109d7e commit 1c2ea8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/gfs2/recovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 1c2ea8a

Please sign in to comment.