diff options
author | Andre Noll <maan@systemlinux.org> | 2008-04-25 19:06:35 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-08 10:51:29 +1000 |
commit | bb57fc64b251d2696900d8a8f25ad5272d5d9c2a (patch) | |
tree | 62192d4c890c41e7a75307b0fcf586c7c4d00d56 /drivers/md | |
parent | 0529613a1970fef1ba82ded431e2e2ee35b658af (diff) | |
download | blackbird-op-linux-bb57fc64b251d2696900d8a8f25ad5272d5d9c2a.tar.gz blackbird-op-linux-bb57fc64b251d2696900d8a8f25ad5272d5d9c2a.zip |
md: md_ioctl(): Fix misleading indentation.
Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/md.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 43d033d9a05a..912ed04adcff 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -4973,14 +4973,12 @@ static int md_ioctl(struct inode *inode, struct file *file, * here and hit the 'default' below, so only disallow * 'md' ioctls, and switch to rw mode if started auto-readonly. */ - if (_IOC_TYPE(cmd) == MD_MAJOR && - mddev->ro && mddev->pers) { + if (_IOC_TYPE(cmd) == MD_MAJOR && mddev->ro && mddev->pers) { if (mddev->ro == 2) { mddev->ro = 0; sysfs_notify(&mddev->kobj, NULL, "array_state"); set_bit(MD_RECOVERY_NEEDED, &mddev->recovery); md_wakeup_thread(mddev->thread); - } else { err = -EROFS; goto abort_unlock; |