diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-09-27 18:16:47 -0400 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-09-27 18:16:47 -0400 |
| commit | 3b9f6cb8a1ec791be79c6c7595fea922f12d1e64 (patch) | |
| tree | 2393a448add846e6c2ed12f68106c3018b72c6a9 /fs/namespace.c | |
| parent | c38778c3a9aeadcd1ee319cfc8ea5a9cbf8cdafa (diff) | |
| parent | a77c64c1a641950626181b4857abb701d8f38ccc (diff) | |
Merge branch 'master' into upstream
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 @@ | |||
| 17 | #include <linux/acct.h> | 17 | #include <linux/acct.h> |
| 18 | #include <linux/capability.h> | 18 | #include <linux/capability.h> |
| 19 | #include <linux/module.h> | 19 | #include <linux/module.h> |
| 20 | #include <linux/sysfs.h> | ||
| 20 | #include <linux/seq_file.h> | 21 | #include <linux/seq_file.h> |
| 21 | #include <linux/namespace.h> | 22 | #include <linux/namespace.h> |
| 22 | #include <linux/namei.h> | 23 | #include <linux/namei.h> |
| @@ -28,15 +29,6 @@ | |||
| 28 | 29 | ||
| 29 | extern int __init init_rootfs(void); | 30 | extern int __init init_rootfs(void); |
| 30 | 31 | ||
| 31 | #ifdef CONFIG_SYSFS | ||
| 32 | extern int __init sysfs_init(void); | ||
| 33 | #else | ||
| 34 | static inline int sysfs_init(void) | ||
| 35 | { | ||
| 36 | return 0; | ||
| 37 | } | ||
| 38 | #endif | ||
| 39 | |||
| 40 | /* spinlock for vfsmount related operations, inplace of dcache_lock */ | 32 | /* spinlock for vfsmount related operations, inplace of dcache_lock */ |
| 41 | __cacheline_aligned_in_smp DEFINE_SPINLOCK(vfsmount_lock); | 33 | __cacheline_aligned_in_smp DEFINE_SPINLOCK(vfsmount_lock); |
| 42 | 34 | ||
