diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-11-13 08:49:09 +0100 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-11-20 02:05:50 +0100 |
commit | 1376e931b75f954057b1547ba25fcba594cef804 (patch) | |
tree | b8e75d8dddb705c661542b534b4a74f9e1e87aa4 /fs/nilfs2/btnode.h | |
parent | nilfs2: remove newblk argument from nilfs_btnode_submit_block (diff) | |
download | linux-1376e931b75f954057b1547ba25fcba594cef804.tar.xz linux-1376e931b75f954057b1547ba25fcba594cef804.zip |
nilfs2: eliminate nilfs_btnode_get function
This removes the obsolete nilfs_btnode_get() function and makes
nilfs_btree_get_block() directly call nilfs_btnode_submit_block().
This expansion will provide better opportunity for code optimization.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/btnode.h')
-rw-r--r-- | fs/nilfs2/btnode.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nilfs2/btnode.h b/fs/nilfs2/btnode.h index 3d5cf08a47f7..07da83f07712 100644 --- a/fs/nilfs2/btnode.h +++ b/fs/nilfs2/btnode.h @@ -44,8 +44,6 @@ struct buffer_head *nilfs_btnode_create_block(struct address_space *btnc, __u64 blocknr); int nilfs_btnode_submit_block(struct address_space *, __u64, sector_t, struct buffer_head **); -int nilfs_btnode_get(struct address_space *, __u64, sector_t, - struct buffer_head **); void nilfs_btnode_delete(struct buffer_head *); int nilfs_btnode_prepare_change_key(struct address_space *, struct nilfs_btnode_chkey_ctxt *); |