summaryrefslogtreecommitdiffstats
path: root/Documentation/leds-class.txt
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-07-13 16:33:54 +0200
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-07-23 03:02:14 +0200
commit5ad2686e9266f24a0bb76b01d5c3ae29b4e149fe (patch)
treedf7d1d37ec380e58b0b171db07c5d8a7f9bb4ff0 /Documentation/leds-class.txt
parentnilfs2: reduce repetitive calculation of max number of child nodes (diff)
downloadlinux-5ad2686e9266f24a0bb76b01d5c3ae29b4e149fe.tar.xz
linux-5ad2686e9266f24a0bb76b01d5c3ae29b4e149fe.zip
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 'Documentation/leds-class.txt')
0 files changed, 0 insertions, 0 deletions