]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
SYSFS: Explicitly include required header file slab.h.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Fri, 14 Mar 2008 02:41:52 +0000 (22:41 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 20 Apr 2008 02:10:27 +0000 (19:10 -0700)
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>
fs/sysfs/dir.c
fs/sysfs/file.c

index 4948d9bc405dfbdb23f30dcd5ad47d103f4e5514..a1c3a1fab7f01d591ea571dc99974b21abfd3c27 100644 (file)
@@ -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);
index baa663e69388aeb623aeb667f86ff12540b741e8..a859c32ff93a56b184c3d7a92ebec776d4d9eaa6 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/module.h>
 #include <linux/kobject.h>
 #include <linux/kallsyms.h>
+#include <linux/slab.h>
 #include <linux/namei.h>
 #include <linux/poll.h>
 #include <linux/list.h>