diff options
author | 2011-01-14 09:14:33 +1100 | |
---|---|---|
committer | 2011-01-14 09:14:33 +1100 | |
commit | 43c73ca43b3e03bb228ff9350b6b44d0e560f262 (patch) | |
tree | 2a6fcff1e62c53ba0a95295cf02ae785b1efb501 /drivers/md/bitmap.c | |
parent | md: Ensure no IO request to get md device before it is properly initialised. (diff) | |
download | wireguard-linux-43c73ca43b3e03bb228ff9350b6b44d0e560f262.tar.xz wireguard-linux-43c73ca43b3e03bb228ff9350b6b44d0e560f262.zip |
md/raid5: use sysfs_notify_dirent_safe to avoid NULL pointer
With the module parameter 'start_dirty_degraded' set,
raid5_spare_active() previously called sysfs_notify_dirent() with a NULL
argument (rdev->sysfs_state) when a rebuild finished.
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/bitmap.c')
0 files changed, 0 insertions, 0 deletions