diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-04-27 11:40:04 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-07-06 14:54:50 -0400 |
commit | fd87c8b73a0c7689cf3112b35c8c173e8326a5fb (patch) | |
tree | 76cbab1bac51fb84869df758d721251f49cf7c3d /fs/nfs/super.c | |
parent | bb71e4a5d7eb151aa8d4e98c628b744f78af7c57 (diff) | |
download | linux-fd87c8b73a0c7689cf3112b35c8c173e8326a5fb.tar.bz2 |
NFS: Display the "nconnect" mount option if it is set.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r-- | fs/nfs/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |