diff options
Diffstat (limited to 'drivers/md/multipath.c')
-rw-r--r-- | drivers/md/multipath.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c index 1cc9de44ce86..e4f168d063db 100644 --- a/drivers/md/multipath.c +++ b/drivers/md/multipath.c | |||
@@ -253,7 +253,7 @@ static void multipath_error (mddev_t *mddev, mdk_rdev_t *rdev) | |||
253 | char b[BDEVNAME_SIZE]; | 253 | char b[BDEVNAME_SIZE]; |
254 | clear_bit(In_sync, &rdev->flags); | 254 | clear_bit(In_sync, &rdev->flags); |
255 | set_bit(Faulty, &rdev->flags); | 255 | set_bit(Faulty, &rdev->flags); |
256 | mddev->sb_dirty = 1; | 256 | set_bit(MD_CHANGE_DEVS, &mddev->flags); |
257 | conf->working_disks--; | 257 | conf->working_disks--; |
258 | printk(KERN_ALERT "multipath: IO failure on %s," | 258 | printk(KERN_ALERT "multipath: IO failure on %s," |
259 | " disabling IO path. \n Operation continuing" | 259 | " disabling IO path. \n Operation continuing" |
@@ -470,7 +470,6 @@ static int multipath_run (mddev_t *mddev) | |||
470 | } | 470 | } |
471 | 471 | ||
472 | conf->raid_disks = mddev->raid_disks; | 472 | conf->raid_disks = mddev->raid_disks; |
473 | mddev->sb_dirty = 1; | ||
474 | conf->mddev = mddev; | 473 | conf->mddev = mddev; |
475 | spin_lock_init(&conf->device_lock); | 474 | spin_lock_init(&conf->device_lock); |
476 | INIT_LIST_HEAD(&conf->retry_list); | 475 | INIT_LIST_HEAD(&conf->retry_list); |