diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index ff54ae4933f3..e5e6a244096c 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1025,6 +1025,7 @@ extern int send_sigurg(struct fown_struct *fown); | |||
1025 | extern struct list_head super_blocks; | 1025 | extern struct list_head super_blocks; |
1026 | extern spinlock_t sb_lock; | 1026 | extern spinlock_t sb_lock; |
1027 | 1027 | ||
1028 | #define sb_entry(list) list_entry((list), struct super_block, s_list) | ||
1028 | #define S_BIAS (1<<30) | 1029 | #define S_BIAS (1<<30) |
1029 | struct super_block { | 1030 | struct super_block { |
1030 | struct list_head s_list; /* Keep this first */ | 1031 | struct list_head s_list; /* Keep this first */ |
@@ -1058,6 +1059,9 @@ struct super_block { | |||
1058 | struct list_head s_more_io; /* parked for more writeback */ | 1059 | struct list_head s_more_io; /* parked for more writeback */ |
1059 | struct hlist_head s_anon; /* anonymous dentries for (nfs) exporting */ | 1060 | struct hlist_head s_anon; /* anonymous dentries for (nfs) exporting */ |
1060 | struct list_head s_files; | 1061 | struct list_head s_files; |
1062 | /* s_dentry_lru and s_nr_dentry_unused are protected by dcache_lock */ | ||
1063 | struct list_head s_dentry_lru; /* unused dentry lru */ | ||
1064 | int s_nr_dentry_unused; /* # of dentry on lru */ | ||
1061 | 1065 | ||
1062 | struct block_device *s_bdev; | 1066 | struct block_device *s_bdev; |
1063 | struct mtd_info *s_mtd; | 1067 | struct mtd_info *s_mtd; |