OSDN Git Service

NFS: If nfs_mountpoint_expiry_timeout < 0, do not expire submounts
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 21 Aug 2019 22:16:28 +0000 (18:16 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Nov 2019 02:28:44 +0000 (21:28 -0500)
commit22a1ae9a93fb64600d0756e8f8051d65527f6786
treee4464a85ef1102e81643fbf7565f58e6e1f4ac23
parenta99d8080aaf358d5d23581244e5da23b35e340b9
NFS: If nfs_mountpoint_expiry_timeout < 0, do not expire submounts

If we set nfs_mountpoint_expiry_timeout to a negative value, then
allow that to imply that we do not expire NFSv4 submounts.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/namespace.c