OSDN Git Service

nilfs2: move get block functions in bmap.c into btree codes
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Thu, 21 May 2009 16:07:13 +0000 (01:07 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Wed, 10 Jun 2009 14:41:10 +0000 (23:41 +0900)
commitf198dbb9cf580c09644ebdf46846115c6daff14e
tree0792f2044153e35bea1c2b93d69ba8045cd86551
parent9f098900ad34edfe3bcc2498cfa372f588b96c62
nilfs2: move get block functions in bmap.c into btree codes

Two get block function for btree nodes, nilfs_bmap_get_block() and
nilfs_bmap_get_new_block(), are called only from the btree codes.
This relocation will increase opportunities of compiler optimization.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/bmap.c
fs/nilfs2/bmap.h
fs/nilfs2/btree.c