commit | 5ad2686e9266f24a0bb76b01d5c3ae29b4e149fe | [log] [tgz] |
---|---|---|
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | Tue Jul 13 23:33:54 2010 +0900 |
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | Fri Jul 23 10:02:14 2010 +0900 |
tree | df7d1d37ec380e58b0b171db07c5d8a7f9bb4ff0 | |
parent | 9b7b265c9ab67fcd1245d6b64fa5ca2eda43ac88 [diff] |
nilfs2: get maximum number of child nodes from bmap object The patch "reduce repetitive calculation of max number of child nodes" gathered up the calculation of maximum number of child nodes into nilfs_btree_nchildren_per_block() function. This makes the function get resultant value from a private variable in bmap object instead of calculating it for each call. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>