From: Robert P. J. Day Date: Fri, 14 Mar 2008 02:41:52 +0000 (-0400) Subject: SYSFS: Explicitly include required header file slab.h. X-Git-Tag: v2.6.26-rc1~1126^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6f87733823d69a8f12e391688ceeb1ff4922530;p=thirdparty%2Fkernel%2Flinux.git SYSFS: Explicitly include required header file slab.h. After an experimental deletion of the unnecessary inclusion of from the header file , the following files under fs/sysfs were exposed as needing to explicitly include . Signed-off-by: Robert P. J. Day Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c index 4948d9bc405df..a1c3a1fab7f01 100644 --- a/fs/sysfs/dir.c +++ b/fs/sysfs/dir.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "sysfs.h" DEFINE_MUTEX(sysfs_mutex); diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index baa663e69388a..a859c32ff93a5 100644 --- a/fs/sysfs/file.c +++ b/fs/sysfs/file.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include