summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs42proc.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-01-13 11:04:27 +1100
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-01-30 13:14:50 -0500
commit6f6e3c09c0dde7fbaf36f02ffa97bbb13fecd637 (patch)
treeb237c467bf539ba5f7e0093ecc8addce28588fe7 /fs/nfs/nfs42proc.c
parent4c3ffd058c28bb1aac30a68d1f02de4a2077823e (diff)
NFS: tidy up nfs_show_mountd_netid
This function is a bit clumsy, incorrectly producing ",mountproto=" if mountd_protocol is 0 and !showdefaults, and duplicating the code for reporting "auto". Tidy it up so that it only makes a single seq_printf() call, and more obviously does the right thing. Fixes: ee671b016fbf ("NFS: convert proto= option to use netids rather than a protoname") Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/nfs42proc.c')
0 files changed, 0 insertions, 0 deletions