From: Yan Zheng Date: Thu, 12 Feb 2009 19:14:53 +0000 (-0500) Subject: Btrfs: hold trans_mutex when using btrfs_record_root_in_trans X-Git-Tag: v2.6.29-rc6~79^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2456242530a21cfee82646ebeeda65d3f74faa4c;p=pandora-kernel.git Btrfs: hold trans_mutex when using btrfs_record_root_in_trans btrfs_record_root_in_trans needs the trans_mutex held to make sure two callers don't race to setup the root in a given transaction. This adds it to all the places that were missing it. Signed-off-by: Yan Zheng --- Reading git-diff-tree failed