diff options
author | David Sterba <[email protected]> | 2013-04-26 15:20:23 +0000 |
---|---|---|
committer | Josef Bacik <[email protected]> | 2013-05-06 15:55:25 -0400 |
commit | 55793c0d0381176e727389325d9a47f7f0b5387f (patch) | |
tree | 580c9b7f5562e314bf13a8cdb92b342bc17db75a /drivers/scsi/mpt2sas/mpi/mpi2_init.h | |
parent | f7a52a40cabea38b99b5053bc4f7cf45f4997603 (diff) |
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 <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions