summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/bmap.c
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-11-11 22:37:59 +0900
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-11-20 10:05:47 +0900
commit30db4e6c3d51a89e4923e525303f714e6508bbd0 (patch)
treec1c83cff8e73b2534a391f2c89926b3badfdaa83 /fs/nilfs2/bmap.c
parenta49762fd119d191dcbb2f638a2dbc2ed53f4e2bb (diff)
downloadlinux-0-day-30db4e6c3d51a89e4923e525303f714e6508bbd0.tar.gz
linux-0-day-30db4e6c3d51a89e4923e525303f714e6508bbd0.tar.xz
nilfs2: remove buffer locking from btree code
lock_buffer() and unlock_buffer() uses in btree.c are eliminable because btree functions gain buffer heads through nilfs_btnode_get(), which never returns an on-the-fly buffer. Although nilfs_clear_dirty_page() and nilfs_copy_back_pages() in nilfs_commit_gcdat_inode() juggle btree node buffers of DAT, this is safe because these operations are protected by a log writer lock or the metadata file semaphore of DAT. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/bmap.c')
0 files changed, 0 insertions, 0 deletions