diff options
author | David Sterba <dsterba@suse.cz> | 2013-04-26 17:20:23 +0200 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-06 21:55:25 +0200 |
commit | 55793c0d0381176e727389325d9a47f7f0b5387f (patch) | |
tree | 580c9b7f5562e314bf13a8cdb92b342bc17db75a /fs/btrfs/scrub.c | |
parent | btrfs: remove unused gfp mask parameter from release_extent_buffer callchain (diff) | |
download | linux-55793c0d0381176e727389325d9a47f7f0b5387f.tar.xz linux-55793c0d0381176e727389325d9a47f7f0b5387f.zip |
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 <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions