diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2011-01-10 07:18:25 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-10 17:51:44 +0100 |
commit | 57cc7215b70856dc6bae8e55b00ecd7b1d7429b1 (patch) | |
tree | f6dedefd41e6745a9b801166b99af7d830e41ef2 /fs/sysfs | |
parent | headers: path.h redux (diff) | |
download | linux-57cc7215b70856dc6bae8e55b00ecd7b1d7429b1.tar.xz linux-57cc7215b70856dc6bae8e55b00ecd7b1d7429b1.zip |
headers: kobject.h redux
Remove kobject.h from files which don't need it, notably,
sched.h and fs.h.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/sysfs')
-rw-r--r-- | fs/sysfs/inode.c | 1 | ||||
-rw-r--r-- | fs/sysfs/sysfs.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/fs/sysfs/inode.c b/fs/sysfs/inode.c index 30ac27345586..0a12eb89cd32 100644 --- a/fs/sysfs/inode.c +++ b/fs/sysfs/inode.c @@ -19,6 +19,7 @@ #include <linux/errno.h> #include <linux/sched.h> #include <linux/slab.h> +#include <linux/sysfs.h> #include <linux/xattr.h> #include <linux/security.h> #include "sysfs.h" diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h index ffaaa816bfba..3d28af31d863 100644 --- a/fs/sysfs/sysfs.h +++ b/fs/sysfs/sysfs.h @@ -9,6 +9,7 @@ */ #include <linux/lockdep.h> +#include <linux/kobject_ns.h> #include <linux/fs.h> struct sysfs_open_dirent; |