diff options
author | Jeff Layton <jeff.layton@primarydata.com> | 2020-11-30 17:03:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-21 14:52:46 +0200 |
commit | 203ca3253b34a1786c885491f0643d4d95a1d690 (patch) | |
tree | 02c42c026a6640bd3019c5c03709113af2136975 /fs/ioctl.c | |
parent | d5314c9bb7f521714ff0e0bcd24ca2eaf00f622b (diff) | |
download | linux-stable-203ca3253b34a1786c885491f0643d4d95a1d690.tar.gz linux-stable-203ca3253b34a1786c885491f0643d4d95a1d690.tar.bz2 linux-stable-203ca3253b34a1786c885491f0643d4d95a1d690.zip |
nfsd: allow filesystems to opt out of subtree checking
[ Upstream commit ba5e8187c55555519ae0b63c0fb681391bc42af9 ]
When we start allowing NFS to be reexported, then we have some problems
when it comes to subtree checking. In principle, we could allow it, but
it would mean encoding parent info in the filehandles and there may not
be enough space for that in a NFSv3 filehandle.
To enforce this at export upcall time, we add a new export_ops flag
that declares the filesystem ineligible for subtree checking.
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: Lance Shelton <lance.shelton@hammerspace.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions