diff options
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r-- | drivers/md/raid10.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c index a88aeb5198c7..76d1fc9c65ba 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c | |||
@@ -1130,6 +1130,7 @@ static int raid10_spare_active(mddev_t *mddev) | |||
1130 | spin_lock_irqsave(&conf->device_lock, flags); | 1130 | spin_lock_irqsave(&conf->device_lock, flags); |
1131 | mddev->degraded--; | 1131 | mddev->degraded--; |
1132 | spin_unlock_irqrestore(&conf->device_lock, flags); | 1132 | spin_unlock_irqrestore(&conf->device_lock, flags); |
1133 | sysfs_notify_dirent(tmp->rdev->sysfs_state); | ||
1133 | } | 1134 | } |
1134 | } | 1135 | } |
1135 | 1136 | ||