From: Miao Xie Date: Wed, 3 Sep 2014 13:35:36 +0000 (+0800) Subject: Btrfs: fix unprotected device->bytes_used update X-Git-Tag: fixes-against-v3.18-rc2~120^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43530c46cc55cf5a381e788276a93c83cbc95e46;p=pandora-kernel.git Btrfs: fix unprotected device->bytes_used update We should update device->bytes_used in the lock context of chunk_mutex, or we would get wrong data. Signed-off-by: Miao Xie Signed-off-by: Chris Mason --- Reading git-diff-tree failed