fsnotify: update gfp/slab.h includes
authorTejun Heo <tj@kernel.org>
Wed, 19 May 2010 15:36:28 +0000 (01:36 +1000)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:59:03 +0000 (09:59 -0400)
Implicit slab.h inclusion via percpu.h is about to go away.  Make sure
gfp.h or slab.h is included as necessary.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fanotify/fanotify_user.c
fs/notify/vfsmount_mark.c

index 664102084766b7728a0402367f49b388a26502ee..da01091f93ebf8a04ea069418635f9f8b715ba4c 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/poll.h>
 #include <linux/security.h>
 #include <linux/syscalls.h>
+#include <linux/slab.h>
 #include <linux/types.h>
 #include <linux/uaccess.h>
 
index 8f1aa02f4f02a8968ac800ec4cb2a4bef9dc50ad..ec580a25d2938164a030fe9252fce9e381339054 100644 (file)
@@ -22,7 +22,6 @@
 #include <linux/module.h>
 #include <linux/mount.h>
 #include <linux/mutex.h>
-#include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <linux/writeback.h> /* for inode_lock */