diff options
Diffstat (limited to 'drivers/md/raid1.c')
-rw-r--r-- | drivers/md/raid1.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index b67d822d57ae..8f34ad5c478b 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c | |||
@@ -1973,7 +1973,6 @@ static int run(mddev_t *mddev) | |||
1973 | if (IS_ERR(conf)) | 1973 | if (IS_ERR(conf)) |
1974 | return PTR_ERR(conf); | 1974 | return PTR_ERR(conf); |
1975 | 1975 | ||
1976 | mddev->queue->queue_lock = &conf->device_lock; | ||
1977 | list_for_each_entry(rdev, &mddev->disks, same_set) { | 1976 | list_for_each_entry(rdev, &mddev->disks, same_set) { |
1978 | disk_stack_limits(mddev->gendisk, rdev->bdev, | 1977 | disk_stack_limits(mddev->gendisk, rdev->bdev, |
1979 | rdev->data_offset << 9); | 1978 | rdev->data_offset << 9); |