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-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fd87c8b73a0c7689cf3112b35c8c173e8326a5fb;p=linux.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 68ad0b8bcabdf..bd3ba1d323ea1 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);