diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2015-11-06 16:31:45 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-06 17:50:42 -0800 |
commit | 4e9e63a671fbe13f448fb2e69dfdbb6c2a008368 (patch) | |
tree | 684abd932a6231f904ec4bd0b3988fc9f714318f /fs/nilfs2/mdt.c | |
parent | b7bed712d090c340b97d455c5cb62d151e004503 (diff) | |
download | blackbird-op-linux-4e9e63a671fbe13f448fb2e69dfdbb6c2a008368.tar.gz blackbird-op-linux-4e9e63a671fbe13f448fb2e69dfdbb6c2a008368.zip |
nilfs2: do not call nilfs_mdt_bgl_lock() needlessly
In the bitmap based allocator implementation, nilfs_mdt_bgl_lock() helper
is frequently used to get a spinlock protecting a target block group.
This reduces its usage and simplifies arguments of some related functions
by directly passing a pointer to the spinlock.
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/mdt.c')
0 files changed, 0 insertions, 0 deletions