From: Andre Noll Date: Fri, 25 Apr 2008 17:06:35 +0000 (+0200) Subject: md: md_ioctl(): Fix misleading indentation. X-Git-Tag: v2.6.27-rc2~95^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb57fc64b251d2696900d8a8f25ad5272d5d9c2a;p=platform%2Fkernel%2Flinux-exynos.git md: md_ioctl(): Fix misleading indentation. Signed-off-by: Andre Noll Signed-off-by: Neil Brown --- diff --git a/drivers/md/md.c b/drivers/md/md.c index 43d033d..912ed04 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;