From: David Sterba Date: Fri, 26 Apr 2013 15:20:23 +0000 (+0000) Subject: btrfs: read entire device info under lock X-Git-Tag: v3.10-rc1~31^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55793c0d0381176e727389325d9a47f7f0b5387f;p=pandora-kernel.git btrfs: read entire device info under lock There's a theoretical possibility of reading stale (or even more theoretically, freed) data from DEV_INFO ioctl when the device would disappear between an early mutex unlock and data being copied from the device structure. Signed-off-by: David Sterba Signed-off-by: Josef Bacik --- Reading git-diff-tree failed