diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-05-21 11:38:56 -0400 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-06-10 10:41:10 -0400 |
commit | 9f098900ad34edfe3bcc2498cfa372f588b96c62 (patch) | |
tree | 87622fa169eb988319637f0ce1cca02242006fee /fs/nilfs2/bmap.c | |
parent | 087d01b4253b611773ca81ad894486e7e17e74f6 (diff) |
nilfs2: remove nilfs_bmap_delete_block
nilfs_bmap_delete_block() is a wrapper function calling
nilfs_btnode_delete(). This removes it for simplicity.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/bmap.c')
-rw-r--r-- | fs/nilfs2/bmap.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/nilfs2/bmap.c b/fs/nilfs2/bmap.c index ee9914a7b70d..d7dbedfbd2b4 100644 --- a/fs/nilfs2/bmap.c +++ b/fs/nilfs2/bmap.c | |||
@@ -437,12 +437,6 @@ int nilfs_bmap_get_new_block(const struct nilfs_bmap *bmap, __u64 ptr, | |||
437 | return 0; | 437 | return 0; |
438 | } | 438 | } |
439 | 439 | ||
440 | void nilfs_bmap_delete_block(const struct nilfs_bmap *bmap, | ||
441 | struct buffer_head *bh) | ||
442 | { | ||
443 | nilfs_btnode_delete(bh); | ||
444 | } | ||
445 | |||
446 | __u64 nilfs_bmap_data_get_key(const struct nilfs_bmap *bmap, | 440 | __u64 nilfs_bmap_data_get_key(const struct nilfs_bmap *bmap, |
447 | const struct buffer_head *bh) | 441 | const struct buffer_head *bh) |
448 | { | 442 | { |