From: Miao Xie Date: Wed, 3 Sep 2014 13:35:40 +0000 (+0800) Subject: Btrfs: fix unprotected device list access when getting the fs information X-Git-Tag: fixes-against-v3.18-rc2~120^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15484377f597ca98ee84de87caa13667ea68bb14;p=pandora-kernel.git Btrfs: fix unprotected device list access when getting the fs information When we get the fs information, we forgot to acquire the mutex of device list, it might cause the problem we might access a device that was removed. Fix it by acquiring the device list mutex. Signed-off-by: Miao Xie Signed-off-by: Chris Mason --- Reading git-diff-tree failed