]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nilfs2: refactor nilfs_palloc_find_available_slot()
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Wed, 21 Oct 2015 22:03:55 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:55 +0000 (09:03 +1100)
commitc593a643e8ebb5752f0b620a923479bf1646382c
tree9e38812efb9703bc5d8097b168c5efbb74492d28
parent66a6c8a7c565233afbda6188194adbc0112947dd
nilfs2: refactor nilfs_palloc_find_available_slot()

The current implementation of nilfs_palloc_find_available_slot() function
is overkill.  The underlying bit search routine is well optimized, so this
uses it more simply in nilfs_palloc_find_available_slot().

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/nilfs2/alloc.c