From: Trond Myklebust Date: Thu, 27 Apr 2017 15:40:04 +0000 (-0400) Subject: NFS: Display the "nconnect" mount option if it is set. X-Git-Tag: v5.3-rc1~35^2~26^2~5 X-Git-Url: https://gentwo.org/gitweb/?a=commitdiff_plain;h=fd87c8b73a0c7689cf3112b35c8c173e8326a5fb;p=linux%2F.git NFS: Display the "nconnect" mount option if it is set. Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 68ad0b8bcabd..bd3ba1d323ea 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -678,6 +678,8 @@ static void nfs_show_mount_options(struct seq_file *m, struct nfs_server *nfss, seq_printf(m, ",proto=%s", rpc_peeraddr2str(nfss->client, RPC_DISPLAY_NETID)); rcu_read_unlock(); + if (clp->cl_nconnect > 0) + seq_printf(m, ",nconnect=%u", clp->cl_nconnect); if (version == 4) { if (nfss->port != NFS_PORT) seq_printf(m, ",port=%u", nfss->port);