diff options
Diffstat (limited to 'fs/nilfs2/the_nilfs.h')
-rw-r--r-- | fs/nilfs2/the_nilfs.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/nilfs2/the_nilfs.h b/fs/nilfs2/the_nilfs.h index f785a7b0ab9..c7ecd0c623a 100644 --- a/fs/nilfs2/the_nilfs.h +++ b/fs/nilfs2/the_nilfs.h | |||
@@ -81,7 +81,6 @@ enum { | |||
81 | * @ns_sufile: segusage file inode | 81 | * @ns_sufile: segusage file inode |
82 | * @ns_gc_dat: shadow inode of the DAT file inode for GC | 82 | * @ns_gc_dat: shadow inode of the DAT file inode for GC |
83 | * @ns_gc_inodes: dummy inodes to keep live blocks | 83 | * @ns_gc_inodes: dummy inodes to keep live blocks |
84 | * @ns_gc_inodes_h: hash list to keep dummy inode holding live blocks | ||
85 | * @ns_blocksize_bits: bit length of block size | 84 | * @ns_blocksize_bits: bit length of block size |
86 | * @ns_blocksize: block size | 85 | * @ns_blocksize: block size |
87 | * @ns_nsegments: number of segments in filesystem | 86 | * @ns_nsegments: number of segments in filesystem |
@@ -165,9 +164,8 @@ struct the_nilfs { | |||
165 | struct inode *ns_sufile; | 164 | struct inode *ns_sufile; |
166 | struct inode *ns_gc_dat; | 165 | struct inode *ns_gc_dat; |
167 | 166 | ||
168 | /* GC inode list and hash table head */ | 167 | /* GC inode list */ |
169 | struct list_head ns_gc_inodes; | 168 | struct list_head ns_gc_inodes; |
170 | struct hlist_head *ns_gc_inodes_h; | ||
171 | 169 | ||
172 | /* Disk layout information (static) */ | 170 | /* Disk layout information (static) */ |
173 | unsigned int ns_blocksize_bits; | 171 | unsigned int ns_blocksize_bits; |
@@ -182,9 +180,6 @@ struct the_nilfs { | |||
182 | u32 ns_crc_seed; | 180 | u32 ns_crc_seed; |
183 | }; | 181 | }; |
184 | 182 | ||
185 | #define NILFS_GCINODE_HASH_BITS 8 | ||
186 | #define NILFS_GCINODE_HASH_SIZE (1<<NILFS_GCINODE_HASH_BITS) | ||
187 | |||
188 | #define THE_NILFS_FNS(bit, name) \ | 183 | #define THE_NILFS_FNS(bit, name) \ |
189 | static inline void set_nilfs_##name(struct the_nilfs *nilfs) \ | 184 | static inline void set_nilfs_##name(struct the_nilfs *nilfs) \ |
190 | { \ | 185 | { \ |