Commit cbd071b5 authored by David Howells's avatar David Howells Committed by Anna Schumaker

NFS: Deindent nfs_fs_context_parse_option()

Deindent nfs_fs_context_parse_option().
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent f8ee01e3
...@@ -500,19 +500,15 @@ static int nfs_get_option_ul_bound(substring_t args[], unsigned long *option, ...@@ -500,19 +500,15 @@ static int nfs_get_option_ul_bound(substring_t args[], unsigned long *option,
*/ */
static int nfs_fs_context_parse_option(struct nfs_fs_context *ctx, char *p) static int nfs_fs_context_parse_option(struct nfs_fs_context *ctx, char *p)
{ {
char *string;
int rc;
{
substring_t args[MAX_OPT_ARGS]; substring_t args[MAX_OPT_ARGS];
unsigned long option; unsigned long option;
int token; char *string;
int token, rc;
dfprintk(MOUNT, "NFS: parsing nfs mount option '%s'\n", p); dfprintk(MOUNT, "NFS: parsing nfs mount option '%s'\n", p);
token = match_token(p, nfs_mount_option_tokens, args); token = match_token(p, nfs_mount_option_tokens, args);
switch (token) { switch (token) {
/* /*
* boolean options: foo/nofoo * boolean options: foo/nofoo
*/ */
...@@ -904,7 +900,6 @@ static int nfs_fs_context_parse_option(struct nfs_fs_context *ctx, char *p) ...@@ -904,7 +900,6 @@ static int nfs_fs_context_parse_option(struct nfs_fs_context *ctx, char *p)
"'%s'\n", p); "'%s'\n", p);
return -EINVAL; return -EINVAL;
} }
}
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment