diff options
| author | Andrew Morton <[email protected]> | 2006-08-15 05:43:23 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2006-09-26 04:08:39 +0000 |
| commit | f20a9ead0d005fbeeae3fc21a96f9bf197ac1c1c (patch) | |
| tree | b8fb72701b5917d03b6fe122a1719e1cd608b4d9 /fs/namespace.c | |
| parent | drivers/base: check errors (diff) | |
| download | kernel-f20a9ead0d005fbeeae3fc21a96f9bf197ac1c1c.tar.gz kernel-f20a9ead0d005fbeeae3fc21a96f9bf197ac1c1c.zip | |
sysfs: add proper sysfs_init() prototype
Don't be crufty. Mark it __must_check too.
Cc: "Randy.Dunlap" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/namespace.c')
| -rw-r--r-- | fs/namespace.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index fa7ed6a9fc2d..36d180858136 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -17,6 +17,7 @@ #include <linux/acct.h> #include <linux/capability.h> #include <linux/module.h> +#include <linux/sysfs.h> #include <linux/seq_file.h> #include <linux/namespace.h> #include <linux/namei.h> @@ -28,15 +29,6 @@ extern int __init init_rootfs(void); -#ifdef CONFIG_SYSFS -extern int __init sysfs_init(void); -#else -static inline int sysfs_init(void) -{ - return 0; -} -#endif - /* spinlock for vfsmount related operations, inplace of dcache_lock */ __cacheline_aligned_in_smp DEFINE_SPINLOCK(vfsmount_lock); |
