From: Andrew Morton fs/gfs2/glock.c:2198: error: 'THIS_MODULE' undeclared here (not in a function) Cc: Steven Whitehouse Signed-off-by: Andrew Morton --- fs/gfs2/glock.c | 1 + 1 file changed, 1 insertion(+) diff -puN fs/gfs2/glock.c~gfs2-build-fix fs/gfs2/glock.c --- a/fs/gfs2/glock.c~gfs2-build-fix +++ a/fs/gfs2/glock.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include _