]> bbs.cooldavid.org Git - net-next-2.6.git/commit
SLOW_WORK: Fix GFS2 to #include <linux/module.h> before using THIS_MODULE
authorDavid Howells <dhowells@redhat.com>
Fri, 20 Nov 2009 21:50:40 +0000 (21:50 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 20 Nov 2009 21:50:40 +0000 (21:50 +0000)
commit1c2ea8a2c0b71cc5e07f518370d458d692c9b21a
tree3a4acbf6b21bfd560dece24916b951e4639d3632
parent0109d7e614e016a842569628116f54847a177f6e
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>
fs/gfs2/recovery.c