diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 5e65add0f163..76041b614758 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -920,6 +920,9 @@ struct file { | |||
920 | #define f_vfsmnt f_path.mnt | 920 | #define f_vfsmnt f_path.mnt |
921 | const struct file_operations *f_op; | 921 | const struct file_operations *f_op; |
922 | spinlock_t f_lock; /* f_ep_links, f_flags, no IRQ */ | 922 | spinlock_t f_lock; /* f_ep_links, f_flags, no IRQ */ |
923 | #ifdef CONFIG_SMP | ||
924 | int f_sb_list_cpu; | ||
925 | #endif | ||
923 | atomic_long_t f_count; | 926 | atomic_long_t f_count; |
924 | unsigned int f_flags; | 927 | unsigned int f_flags; |
925 | fmode_t f_mode; | 928 | fmode_t f_mode; |
@@ -1334,7 +1337,11 @@ struct super_block { | |||
1334 | 1337 | ||
1335 | struct list_head s_inodes; /* all inodes */ | 1338 | struct list_head s_inodes; /* all inodes */ |
1336 | struct hlist_head s_anon; /* anonymous dentries for (nfs) exporting */ | 1339 | struct hlist_head s_anon; /* anonymous dentries for (nfs) exporting */ |
1340 | #ifdef CONFIG_SMP | ||
1341 | struct list_head __percpu *s_files; | ||
1342 | #else | ||
1337 | struct list_head s_files; | 1343 | struct list_head s_files; |
1344 | #endif | ||
1338 | /* s_dentry_lru and s_nr_dentry_unused are protected by dcache_lock */ | 1345 | /* s_dentry_lru and s_nr_dentry_unused are protected by dcache_lock */ |
1339 | struct list_head s_dentry_lru; /* unused dentry lru */ | 1346 | struct list_head s_dentry_lru; /* unused dentry lru */ |
1340 | int s_nr_dentry_unused; /* # of dentry on lru */ | 1347 | int s_nr_dentry_unused; /* # of dentry on lru */ |