diff options
Diffstat (limited to 'fs/nilfs2/sb.h')
-rw-r--r-- | fs/nilfs2/sb.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/fs/nilfs2/sb.h b/fs/nilfs2/sb.h index 0776ccc2504a..7a17715f215f 100644 --- a/fs/nilfs2/sb.h +++ b/fs/nilfs2/sb.h | |||
@@ -27,14 +27,6 @@ | |||
27 | #include <linux/types.h> | 27 | #include <linux/types.h> |
28 | #include <linux/fs.h> | 28 | #include <linux/fs.h> |
29 | 29 | ||
30 | /* | ||
31 | * Mount options | ||
32 | */ | ||
33 | struct nilfs_mount_options { | ||
34 | unsigned long mount_opt; | ||
35 | __u64 snapshot_cno; | ||
36 | }; | ||
37 | |||
38 | struct the_nilfs; | 30 | struct the_nilfs; |
39 | struct nilfs_sc_info; | 31 | struct nilfs_sc_info; |
40 | 32 | ||
@@ -42,11 +34,6 @@ struct nilfs_sc_info; | |||
42 | * NILFS super-block data in memory | 34 | * NILFS super-block data in memory |
43 | */ | 35 | */ |
44 | struct nilfs_sb_info { | 36 | struct nilfs_sb_info { |
45 | /* Snapshot status */ | ||
46 | __u64 s_snapshot_cno; /* Checkpoint number */ | ||
47 | atomic_t s_inodes_count; | ||
48 | atomic_t s_blocks_count; /* Reserved (might be deleted) */ | ||
49 | |||
50 | /* Mount options */ | 37 | /* Mount options */ |
51 | unsigned long s_mount_opt; | 38 | unsigned long s_mount_opt; |
52 | uid_t s_resuid; | 39 | uid_t s_resuid; |
@@ -59,8 +46,6 @@ struct nilfs_sb_info { | |||
59 | /* Fundamental members */ | 46 | /* Fundamental members */ |
60 | struct super_block *s_super; /* reverse pointer to super_block */ | 47 | struct super_block *s_super; /* reverse pointer to super_block */ |
61 | struct the_nilfs *s_nilfs; | 48 | struct the_nilfs *s_nilfs; |
62 | struct list_head s_list; /* list head for nilfs->ns_supers */ | ||
63 | atomic_t s_count; /* reference count */ | ||
64 | 49 | ||
65 | /* Segment constructor */ | 50 | /* Segment constructor */ |
66 | struct list_head s_dirty_files; /* dirty files list */ | 51 | struct list_head s_dirty_files; /* dirty files list */ |
@@ -68,9 +53,6 @@ struct nilfs_sb_info { | |||
68 | spinlock_t s_inode_lock; /* Lock for the nilfs inode. | 53 | spinlock_t s_inode_lock; /* Lock for the nilfs inode. |
69 | It covers s_dirty_files list */ | 54 | It covers s_dirty_files list */ |
70 | 55 | ||
71 | /* Metadata files */ | ||
72 | struct inode *s_ifile; /* index file inode */ | ||
73 | |||
74 | /* Inode allocator */ | 56 | /* Inode allocator */ |
75 | spinlock_t s_next_gen_lock; | 57 | spinlock_t s_next_gen_lock; |
76 | u32 s_next_generation; | 58 | u32 s_next_generation; |