diff options
author | Ryusuke Konishi <[email protected]> | 2015-11-06 16:31:45 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-11-06 17:50:42 -0800 |
commit | 4e9e63a671fbe13f448fb2e69dfdbb6c2a008368 (patch) | |
tree | 684abd932a6231f904ec4bd0b3988fc9f714318f /lib/mpi/mpiutil.c | |
parent | b7bed712d090c340b97d455c5cb62d151e004503 (diff) |
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions