diff options
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index d2bcb410e3ab..3ce7a5d81d81 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -4423,7 +4423,7 @@ static int md_open(struct inode *inode, struct file *file) | |||
4423 | mddev_t *mddev = inode->i_bdev->bd_disk->private_data; | 4423 | mddev_t *mddev = inode->i_bdev->bd_disk->private_data; |
4424 | int err; | 4424 | int err; |
4425 | 4425 | ||
4426 | if ((err = mddev_lock(mddev))) | 4426 | if ((err = mutex_lock_interruptible_nested(&mddev->reconfig_mutex, 1))) |
4427 | goto out; | 4427 | goto out; |
4428 | 4428 | ||
4429 | err = 0; | 4429 | err = 0; |