From 55793c0d0381176e727389325d9a47f7f0b5387f Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 26 Apr 2013 15:20:23 +0000 Subject: [PATCH] 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-format-patch failed