From: Ryusuke Konishi Date: Wed, 11 Nov 2009 13:37:59 +0000 (+0900) Subject: nilfs2: remove buffer locking from btree code X-Git-Tag: v2.6.33-rc1~322^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30db4e6c3d51a89e4923e525303f714e6508bbd0;p=pandora-kernel.git 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 --- Reading git-diff-tree failed