From: Miao Xie Date: Wed, 3 Sep 2014 13:35:47 +0000 (+0800) Subject: Btrfs: modify rw_devices counter under chunk_mutex context X-Git-Tag: fixes-against-v3.18-rc2~120^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3929c3624e1764855e5a452728aec201b18b42a;p=pandora-kernel.git Btrfs: modify rw_devices counter under chunk_mutex context rw_devices counter is often used to tune the profile when doing chunk allocation, so we should modify it under the chunk_mutex context to avoid getting wrong chunk profile. Signed-off-by: Miao Xie Signed-off-by: Chris Mason --- Reading git-diff-tree failed