]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Add properly locking around add_root_to_dirty_list
authorChris Mason <chris.mason@oracle.com>
Thu, 3 May 2012 16:08:48 +0000 (12:08 -0400)
committerChris Mason <chris.mason@oracle.com>
Fri, 4 May 2012 19:14:11 +0000 (15:14 -0400)
commit6917309652506c51160e79a9e0e4f5ae48e3bad2
tree162d4487dd5cb573036507821d92d5c0c559d56b
parentf22c6b82f093708aed8a87a285488ec349214c5e
Btrfs: Add properly locking around add_root_to_dirty_list

add_root_to_dirty_list happens once at the very beginning of the
transaction, but it is still racey.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c