diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-13 23:33:54 +0900 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-23 10:02:14 +0900 |
commit | 5ad2686e9266f24a0bb76b01d5c3ae29b4e149fe (patch) | |
tree | df7d1d37ec380e58b0b171db07c5d8a7f9bb4ff0 /mm/page_alloc.c | |
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>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions