summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-05-20 01:36:28 +1000
committerEric Paris <eparis@redhat.com>2010-07-28 09:59:03 -0400
commite4e047a22058f48544b16728e0f15a3fc12bb0cf (patch)
tree89278b999107ea537ff4d1d6e129035b0edec1ec
parent08ae89380a8210a9965d04083e1de78cb8bca4b1 (diff)
downloadlinux-e4e047a22058f48544b16728e0f15a3fc12bb0cf.tar.gz
linux-e4e047a22058f48544b16728e0f15a3fc12bb0cf.tar.bz2
linux-e4e047a22058f48544b16728e0f15a3fc12bb0cf.zip
fsnotify: update gfp/slab.h includes
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>
-rw-r--r--fs/notify/fanotify/fanotify_user.c1
-rw-r--r--fs/notify/vfsmount_mark.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/fanotify/fanotify_user.c b/fs/notify/fanotify/fanotify_user.c
index 664102084766..da01091f93eb 100644
--- a/fs/notify/fanotify/fanotify_user.c
+++ b/fs/notify/fanotify/fanotify_user.c
@@ -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>
diff --git a/fs/notify/vfsmount_mark.c b/fs/notify/vfsmount_mark.c
index 8f1aa02f4f02..ec580a25d293 100644
--- a/fs/notify/vfsmount_mark.c
+++ b/fs/notify/vfsmount_mark.c
@@ -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 */