diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-03-24 10:56:39 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-03 12:21:34 +0200 |
commit | 23516dc709914845f18fbe379b3524b8156e5c85 (patch) | |
tree | 83bfd021b4c8ad4d067620120226bccc03287263 /fs/squashfs/export.c | |
parent | c325962b68bbeeddcd4f755f7d34ada4d007b5f8 (diff) | |
download | linux-23516dc709914845f18fbe379b3524b8156e5c85.tar.bz2 |
kmemtrace, squashfs: fix slab.h dependency problem in squasfs
Impact: cleanup
fs/squashfs/export.c depends on slab.h without including it:
CC fs/squashfs/export.o
fs/squashfs/export.c: In function ‘squashfs_read_inode_lookup_table’:
fs/squashfs/export.c:133: error: implicit declaration of function ‘kmalloc’
fs/squashfs/export.c:133: warning: assignment makes pointer from integer without a cast
fs/squashfs/export.c:143: error: implicit declaration of function ‘kfree’
make[1]: *** [fs/squashfs/export.o] Error 1
make: *** [fs/squashfs/] Error 2
It gets included implicitly currently - but this will not be the
case with upcoming kmemtrace changes.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
LKML-Reference: <1237884999.25315.41.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/squashfs/export.c')
-rw-r--r-- | fs/squashfs/export.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/squashfs/export.c b/fs/squashfs/export.c index 69e971d5ddc1..2b1b8fe5e037 100644 --- a/fs/squashfs/export.c +++ b/fs/squashfs/export.c @@ -40,6 +40,7 @@ #include <linux/dcache.h> #include <linux/exportfs.h> #include <linux/zlib.h> +#include <linux/slab.h> #include "squashfs_fs.h" #include "squashfs_fs_sb.h" |