[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210311120650.nzgv6l3addpouwep@kewl-virtual-machine>
Date: Thu, 11 Mar 2021 17:36:50 +0530
From: Shubhankar Kuranagatti <shubhankarvk@...il.com>
To: axboe@...nel.dk
Cc: jack@...e.cz, hare@...e.de, gregkh@...uxfoundation.org,
tj@...nel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] init: do_mounts.c: Fix indentation errors.
Switch and case have been aligned together, extra tab removed
Removed extra space before tab.
Signed-off-by: Shubhankar Kuranagatti <shubhankarvk@...il.com>
---
init/do_mounts.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/init/do_mounts.c b/init/do_mounts.c
index a78e44ee6adb..82fe66d2eb97 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -422,13 +422,13 @@ void __init mount_block_root(char *name, int flags)
for (p = fs_names; *p; p += strlen(p)+1) {
int err = do_mount_root(name, p, flags, root_mount_data);
switch (err) {
- case 0:
- goto out;
- case -EACCES:
- case -EINVAL:
- continue;
+ case 0:
+ goto out;
+ case -EACCES:
+ case -EINVAL:
+ continue;
}
- /*
+ /*
* Allow the user to distinguish between failed sys_open
* and bad superblock on root device.
* and give them a list of the available devices
@@ -459,7 +459,6 @@ void __init mount_block_root(char *name, int flags)
out:
put_page(page);
}
-
#ifdef CONFIG_ROOT_NFS
#define NFSROOT_TIMEOUT_MIN 5
--
2.17.1
Powered by blists - more mailing lists