MD: raid1 s/sysfs_notify_dirent/sysfs_notify_dirent_safe
authorJonathan Brassow <jbrassow@redhat.com>
Wed, 27 Jul 2011 01:00:36 +0000 (11:00 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 27 Jul 2011 01:00:36 +0000 (11:00 +1000)
commit654e8b5abc0a793f0c029128db6e4804691a383e
tree536950fcc8c418c8716ba152e439fe86d24f3365
parent8cfa7b0f67b4d899efc7f39eb7e172fd79237811
MD: raid1 s/sysfs_notify_dirent/sysfs_notify_dirent_safe

If device-mapper creates a RAID1 array that includes devices to
be rebuilt, it will deref a NULL pointer when finished because
sysfs is not used by device-mapper instantiated RAID devices.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid1.c