mirror of
https://github.com/torvalds/linux
synced 2024-09-16 00:58:07 +00:00
NFS: Deindent nfs_fs_context_parse_option()
Deindent nfs_fs_context_parse_option(). Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
f8ee01e3e2
commit
cbd071b5da
|
@ -499,20 +499,16 @@ static int nfs_get_option_ul_bound(substring_t args[], unsigned long *option,
|
|||
* Parse a single mount option in "key[=val]" form.
|
||||
*/
|
||||
static int nfs_fs_context_parse_option(struct nfs_fs_context *ctx, char *p)
|
||||
{
|
||||
char *string;
|
||||
int rc;
|
||||
|
||||
{
|
||||
substring_t args[MAX_OPT_ARGS];
|
||||
unsigned long option;
|
||||
int token;
|
||||
char *string;
|
||||
int token, rc;
|
||||
|
||||
dfprintk(MOUNT, "NFS: parsing nfs mount option '%s'\n", p);
|
||||
|
||||
token = match_token(p, nfs_mount_option_tokens, args);
|
||||
switch (token) {
|
||||
|
||||
/*
|
||||
* boolean options: foo/nofoo
|
||||
*/
|
||||
|
@ -904,7 +900,6 @@ static int nfs_fs_context_parse_option(struct nfs_fs_context *ctx, char *p)
|
|||
"'%s'\n", p);
|
||||
return -EINVAL;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue