summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/direct.h
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-05-23 17:09:44 +0200
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-06-10 16:41:10 +0200
commit3033342a0b76048e32ce1faebfa85cf8f1aa93b5 (patch)
tree9bffaa21381c58e476f26d12352d471748550993 /fs/nilfs2/direct.h
parentnilfs2: remove pointless NULL check of bpop_commit_alloc_ptr function (diff)
downloadlinux-3033342a0b76048e32ce1faebfa85cf8f1aa93b5.tar.xz
linux-3033342a0b76048e32ce1faebfa85cf8f1aa93b5.zip
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 '')
-rw-r--r--fs/nilfs2/direct.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nilfs2/direct.h b/fs/nilfs2/direct.h
index 45d2c5cda812..d645f13b9aea 100644
--- a/fs/nilfs2/direct.h
+++ b/fs/nilfs2/direct.h
@@ -70,9 +70,9 @@ struct nilfs_direct {
#define NILFS_DIRECT_KEY_MAX (NILFS_DIRECT_NBLOCKS - 1)
-int nilfs_direct_init(struct nilfs_bmap *, __u64, __u64);
+int nilfs_direct_init(struct nilfs_bmap *);
int nilfs_direct_delete_and_convert(struct nilfs_bmap *, __u64, __u64 *,
- __u64 *, int, __u64, __u64);
+ __u64 *, int);
#endif /* _NILFS_DIRECT_H */