]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: don't try to notify udev about missing devices
authorEric Sandeen <sandeen@redhat.com>
Thu, 31 Jan 2013 00:55:02 +0000 (00:55 +0000)
committerChris Mason <chris.mason@fusionio.com>
Fri, 1 Feb 2013 16:47:37 +0000 (11:47 -0500)
commitcfca2dd832268cc3f4d0ccb84099f5ed14b47f86
treea4051468cbdd648563a055eed4718eeb0dc7b756
parent3bc5fa2702665cf99ac452805ab6105488bf27ba
btrfs: don't try to notify udev about missing devices

If we remove a missing device, bdev is null, and if we
send that off to btrfs_kobject_uevent we'll panic.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/volumes.c