linux-yocto/fs/nfs
Trond Myklebust 73fcb101bb NFS: Fix the setting of capabilities when automounting a new filesystem
[ Upstream commit b01f21cacd ]

Capabilities cannot be inherited when we cross into a new filesystem.
They need to be reset to the minimal defaults, and then probed for
again.

Fixes: 54ceac4515 ("NFS: Share NFS superblocks per-protocol per-server per-FSID")
Cc: stable@vger.kernel.org
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
[ Removed extended capability flags that don't exist in older trees ]
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-28 16:22:55 +02:00
..
blocklayout pNFS: Fix uninited ptr deref in block/scsi layout 2025-08-28 16:22:47 +02:00
filelayout nfs: don't share pNFS DS connections between net namespaces 2025-06-04 14:37:09 +02:00
flexfilelayout pNFS/flexfiles: don't attempt pnfs on fatal DS errors 2025-08-28 16:22:36 +02:00
cache_lib.c
cache_lib.h
callback_proc.c
callback_xdr.c SUNRPC: Fix integer overflow in decode_rc_list() 2024-10-17 15:08:33 +02:00
callback.c nfsd: stop setting ->pg_stats for unused stats 2024-09-12 11:06:45 +02:00
callback.h
client.c NFS: Fix the setting of capabilities when automounting a new filesystem 2025-08-28 16:22:55 +02:00
delegation.c NFSv4: Check for delegation validity in nfs_start_delegation_return_locked() 2025-06-04 14:36:58 +02:00
delegation.h
dir.c SUNRPC: Add xdr_set_scratch_page() and xdr_reset_scratch_buffer() 2024-06-21 14:52:33 +02:00
direct.c nfs: fix UAF in direct writes 2024-04-13 12:58:31 +02:00
dns_resolve.c
dns_resolve.h
export.c NFS: Fix filehandle bounds checking in nfs_fh_to_dentry() 2025-08-28 16:22:36 +02:00
file.c nfs: don't allow reexport reclaims 2024-06-21 14:53:19 +02:00
fs_context.c
fscache-index.c
fscache.c
fscache.h
getroot.c
inode.c NFS: Don't set NFS_INO_REVAL_PAGECACHE in the inode cache validity 2025-08-28 16:22:55 +02:00
internal.h NFS: Fix the setting of capabilities when automounting a new filesystem 2025-08-28 16:22:55 +02:00
io.c
iostat.h
Kconfig nfs: add missing selections of CONFIG_CRC32 2025-05-02 07:41:01 +02:00
Makefile
mount_clnt.c
namespace.c
netns.h nfs: make the rpc_stat per net namespace 2024-05-17 11:47:59 +02:00
nfs.h
nfs2super.c
nfs2xdr.c
nfs3_fs.h
nfs3acl.c
nfs3client.c
nfs3proc.c
nfs3super.c
nfs3xdr.c
nfs4_fs.h
nfs4client.c NFS: Fix the setting of capabilities when automounting a new filesystem 2025-08-28 16:22:55 +02:00
nfs4file.c NFSv4.2: Remove ifdef CONFIG_NFSD from NFSv4.2 client SSC code. 2024-06-21 14:53:08 +02:00
nfs4getroot.c
nfs4idmap.c
nfs4idmap.h
nfs4namespace.c
nfs4proc.c NFS: Fix the setting of capabilities when automounting a new filesystem 2025-08-28 16:22:55 +02:00
nfs4renewd.c
nfs4session.c
nfs4session.h nfs: add missing selections of CONFIG_CRC32 2025-05-02 07:41:01 +02:00
nfs4state.c NFSv4: Treat ENETUNREACH errors as fatal for state recovery 2025-06-04 14:36:59 +02:00
nfs4super.c
nfs4sysctl.c
nfs4trace.c
nfs4trace.h
nfs4xdr.c SUNRPC: Add xdr_set_scratch_page() and xdr_reset_scratch_buffer() 2024-06-21 14:52:33 +02:00
nfs42.h
nfs42proc.c NFSv4: Prevent NULL-pointer dereference in nfs42_complete_copies() 2024-10-17 15:08:33 +02:00
nfs42xattr.c
nfs42xdr.c NFSv4.2: fix COPY_NOTIFY xdr buf size calculation 2025-03-13 12:46:56 +01:00
nfsroot.c NFS: Fix an off by one in root_nfs_cat() 2024-03-26 18:22:01 -04:00
nfstrace.c
nfstrace.h
pagelist.c SUNRPC: Trace calls to .rpc_call_done 2024-06-21 14:53:24 +02:00
pnfs_dev.c
pnfs_nfs.c nfs: don't share pNFS DS connections between net namespaces 2025-06-04 14:37:09 +02:00
pnfs.c pNFS: Handle RPC size limit for layoutcommits 2025-08-28 16:22:47 +02:00
pnfs.h nfs: don't share pNFS DS connections between net namespaces 2025-06-04 14:37:09 +02:00
proc.c
read.c nfs: Leave pages in the pagecache if readpage failed 2024-07-05 09:12:55 +02:00
super.c nfs: ignore SB_RDONLY when remounting nfs 2025-06-27 11:04:06 +01:00
symlink.c
sysctl.c
sysfs.c
sysfs.h
unlink.c
write.c SUNRPC: Trace calls to .rpc_call_done 2024-06-21 14:53:24 +02:00