Skip to content
Commit 99ba55ad authored by Stefan Behrens's avatar Stefan Behrens Committed by David Sterba
Browse files

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: default avatarStefan Behrens <sbehrens@giantdisaster.de>
parent b9688bb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment