summaryrefslogtreecommitdiff
path: root/fs/sysfs/dir.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2008-03-14 05:41:52 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-20 06:10:27 +0400
commitc6f87733823d69a8f12e391688ceeb1ff4922530 (patch)
tree2061036d1d015167a4de9e2c3a14810e6409f18f /fs/sysfs/dir.c
parent3f62e5700b2a679ae987b32a68126dd6dcf2488f (diff)
downloadlinux-c6f87733823d69a8f12e391688ceeb1ff4922530.tar.xz
SYSFS: Explicitly include required header file slab.h.
After an experimental deletion of the unnecessary inclusion of <linux/slab.h> from the header file <linux/percpu.h>, the following files under fs/sysfs were exposed as needing to explicitly include <linux/slab.h>. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs/dir.c')
-rw-r--r--fs/sysfs/dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c
index 4948d9bc405d..a1c3a1fab7f0 100644
--- a/fs/sysfs/dir.c
+++ b/fs/sysfs/dir.c
@@ -20,6 +20,7 @@
#include <linux/idr.h>
#include <linux/completion.h>
#include <linux/mutex.h>
+#include <linux/slab.h>
#include "sysfs.h"
DEFINE_MUTEX(sysfs_mutex);