Commit fd87c8b7 authored by Trond Myklebust's avatar Trond Myklebust Committed by Trond Myklebust

NFS: Display the "nconnect" mount option if it is set.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent bb71e4a5
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment