kernel_samsung_a53x/fs/nfsd
Jeff Layton 31e5e2f41c 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>
2024-11-19 12:27:26 +01:00
..
acl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auth.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auth.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
blocklayout.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
blocklayoutxdr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
blocklayoutxdr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cache.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
current_stateid.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
export.c nfsd: allow filesystems to opt out of subtree checking 2024-11-19 12:27:26 +01:00
export.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fault_inject.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
filecache.c nfsd: Fix error return code in nfsd_file_cache_init() 2024-11-19 12:27:20 +01:00
filecache.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
flexfilelayout.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
flexfilelayoutxdr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
flexfilelayoutxdr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
idmap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lockd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netns.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfs2acl.c NFSD: Add common helpers to decode void args and encode void results 2024-11-19 12:27:20 +01:00
nfs3acl.c NFSD: Add common helpers to decode void args and encode void results 2024-11-19 12:27:20 +01:00
nfs3proc.c NFSD: Add common helpers to decode void args and encode void results 2024-11-19 12:27:20 +01:00
nfs3xdr.c nfsd: add a new EXPORT_OP_NOWCC flag to struct export_operations 2024-11-19 12:27:26 +01:00
nfs4acl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfs4callback.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfs4idmap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfs4layouts.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfs4proc.c NFSD: Make nfsd4_ops::opnum a u32 2024-11-19 12:27:25 +01:00
nfs4recover.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfs4state.c NFSD: Add a helper to decode state_protect4_a 2024-11-19 12:27:24 +01:00
nfs4xdr.c Revert "nfsd4: support change_attr_type attribute" 2024-11-19 12:27:26 +01:00
nfscache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfsctl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nfsd.h Revert "nfsd4: support change_attr_type attribute" 2024-11-19 12:27:26 +01:00
nfsfh.c nfsd: add a new EXPORT_OP_NOWCC flag to struct export_operations 2024-11-19 12:27:26 +01:00
nfsfh.h nfsd: add a new EXPORT_OP_NOWCC flag to struct export_operations 2024-11-19 12:27:26 +01:00
nfsproc.c NFSD: Add common helpers to decode void args and encode void results 2024-11-19 12:27:20 +01:00
nfssvc.c NFSD: Add tracepoints in nfsd_dispatch() 2024-11-19 12:27:20 +01:00
nfsxdr.c NFSD: Add common helpers to decode void args and encode void results 2024-11-19 12:27:20 +01:00
pnfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
state.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stats.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stats.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.c NFSD: Add SPDX header for fs/nfsd/trace.c 2024-11-19 12:27:20 +01:00
trace.h NFSD: Add tracepoints in nfsd4_decode/encode_compound() 2024-11-19 12:27:20 +01:00
vfs.c nfsd: lock_rename() needs both directories to live on the same fs 2024-11-18 12:10:57 +01:00
vfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xdr.h NFSD: Add common helpers to decode void args and encode void results 2024-11-19 12:27:20 +01:00
xdr3.h NFSD: Add common helpers to decode void args and encode void results 2024-11-19 12:27:20 +01:00
xdr4.h nfsd: simplify nfsd4_change_info 2024-11-19 12:27:26 +01:00
xdr4cb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00