diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-05-23 11:09:44 -0400 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-06-10 10:41:10 -0400 |
commit | 3033342a0b76048e32ce1faebfa85cf8f1aa93b5 (patch) | |
tree | 9bffaa21381c58e476f26d12352d471748550993 /fs/nilfs2/bmap.h | |
parent | e473c1f265f429427e09531435ceaf0fdbb86d15 (diff) |
nilfs2: remove useless b_low and b_high fields from nilfs_bmap struct
This will cut off 16 bytes from the nilfs_bmap struct which is
embedded in the on-memory inode of nilfs.
The b_high field was never used, and the b_low field stores a constant
value which can be determined by whether the inode uses btree for
block mapping or not.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/bmap.h')
-rw-r--r-- | fs/nilfs2/bmap.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/nilfs2/bmap.h b/fs/nilfs2/bmap.h index 978073bf5650..28c77bb71bb7 100644 --- a/fs/nilfs2/bmap.h +++ b/fs/nilfs2/bmap.h | |||
@@ -125,8 +125,6 @@ static inline int nilfs_bmap_is_new_ptr(unsigned long ptr) | |||
125 | * @b_inode: owner of bmap | 125 | * @b_inode: owner of bmap |
126 | * @b_ops: bmap operation table | 126 | * @b_ops: bmap operation table |
127 | * @b_pops: bmap ptr operation table | 127 | * @b_pops: bmap ptr operation table |
128 | * @b_low: low watermark of conversion | ||
129 | * @b_high: high watermark of conversion | ||
130 | * @b_last_allocated_key: last allocated key for data block | 128 | * @b_last_allocated_key: last allocated key for data block |
131 | * @b_last_allocated_ptr: last allocated ptr for data block | 129 | * @b_last_allocated_ptr: last allocated ptr for data block |
132 | * @b_state: state | 130 | * @b_state: state |
@@ -140,8 +138,6 @@ struct nilfs_bmap { | |||
140 | struct inode *b_inode; | 138 | struct inode *b_inode; |
141 | const struct nilfs_bmap_operations *b_ops; | 139 | const struct nilfs_bmap_operations *b_ops; |
142 | const struct nilfs_bmap_ptr_operations *b_pops; | 140 | const struct nilfs_bmap_ptr_operations *b_pops; |
143 | __u64 b_low; | ||
144 | __u64 b_high; | ||
145 | __u64 b_last_allocated_key; | 141 | __u64 b_last_allocated_key; |
146 | __u64 b_last_allocated_ptr; | 142 | __u64 b_last_allocated_ptr; |
147 | int b_state; | 143 | int b_state; |