mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-20 18:15:29 +00:00
NFS: Clean up nfs_validate_mount_data
Move error handling code out of the main code path. The switch statement was also improperly indented, according to Documentation/CodingStyle. This prepares nfs_validate_mount_data for the addition of option string parsing. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
f18289931d
commit
5df36e78da
1 changed files with 67 additions and 58 deletions
127
fs/nfs/super.c
127
fs/nfs/super.c
Loading…
Add table
Add a link
Reference in a new issue