aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/cpfile.c
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2015-11-06 16:31:51 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-06 17:50:42 -0800
commitb22580948c39d71fb150c1d53148a381011dd109 (patch)
tree559a5e2a46c8ebe8bdb48e8b23ff7700511cc739 /fs/nilfs2/cpfile.c
parentnilfs2: refactor nilfs_palloc_find_available_slot() (diff)
downloadlinux-dev-b22580948c39d71fb150c1d53148a381011dd109.tar.xz
linux-dev-b22580948c39d71fb150c1d53148a381011dd109.zip
nilfs2: get rid of nilfs_palloc_group_is_in()
This unfolds nilfs_palloc_group_is_in() helper function into nilfs_palloc_freev() function to simplify a range check and an index calculation repeatedy performed in a loop of the function. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/cpfile.c')
0 files changed, 0 insertions, 0 deletions