From: Wang Shilong Date: Fri, 25 Oct 2013 11:12:02 +0000 (+0800) Subject: Btrfs: remove scrub_super_lock holding in btrfs_sync_log() X-Git-Tag: v3.13-rc1~85^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b011adfe14977fcda977234609d43ca52463a3d;p=pandora-kernel.git Btrfs: remove scrub_super_lock holding in btrfs_sync_log() Originally, we introduced scrub_super_lock to synchronize tree log code with scrubbing super. However we can replace scrub_super_lock with device_list_mutex, because writing super will hold this mutex, this will reduce an extra lock holding when writing supers in sync log code. Signed-off-by: Wang Shilong Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed