diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2012-03-19 16:17:22 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2012-04-18 19:22:35 +0200 |
commit | 99ba55ad696944b37d5557bc5b4816890854fdb9 (patch) | |
tree | 2c8bf9a167f351b89ef86e2133ffec7dfb5d1ce7 /kernel/trace | |
parent | btrfs: don't return EINTR (diff) | |
download | linux-99ba55ad696944b37d5557bc5b4816890854fdb9.tar.xz linux-99ba55ad696944b37d5557bc5b4816890854fdb9.zip |
Btrfs: fix btrfs_ioctl_dev_info() crash on missing device
When a filesystem is mounted with the degraded option, it is
possible that some of the devices are not there.
btrfs_ioctl_dev_info() crashs in this case because the device
name is a NULL pointer. This ioctl was only used for scrub.
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions