From: Stefan Behrens Date: Mon, 19 Mar 2012 15:17:22 +0000 (+0100) Subject: Btrfs: fix btrfs_ioctl_dev_info() crash on missing device X-Git-Tag: v3.4-rc5~6^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99ba55ad696944b37d5557bc5b4816890854fdb9;p=pandora-kernel.git 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 --- Reading git-diff-tree failed