linux_dsm_epyc7002/fs/nfs
Trond Myklebust fc51b1cf39 NFS: Beware when dereferencing the delegation cred
When we look up the delegation cred, we are usually doing so in
conjunction with a read of the stateid, and we want to ensure
that the look up is atomic with that read.

Fixes: 57f188e047 ("NFSv4: nfs_update_inplace_delegation() should update delegation cred")
[sfr@canb.auug.org.au: Fixed up borken Fixes: line from Trond :-)]
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2020-04-03 18:26:02 -04:00
..
blocklayout NFSv4: Ensure layout headers are RCU safe 2020-03-16 08:34:29 -04:00
filelayout NFS/pNFS: Clean up pNFS commit operations 2020-03-27 16:34:35 -04:00
flexfilelayout pNFS/flexfiles: Specify the layout segment range in LAYOUTGET 2020-03-27 16:34:35 -04:00
cache_lib.c
cache_lib.h
callback_proc.c NFSv4: Add support for CB_RECALL_ANY for flexfiles layouts 2020-03-16 08:34:30 -04:00
callback_xdr.c
callback.c
callback.h NFSv4: Add support for CB_RECALL_ANY for flexfiles layouts 2020-03-16 08:34:30 -04:00
client.c nfs: add minor version to nfs_server_key for fscache 2020-02-25 13:53:24 -05:00
delegation.c NFS: Beware when dereferencing the delegation cred 2020-04-03 18:26:02 -04:00
delegation.h NFSv4: Ensure the delegation is pinned in nfs_do_return_delegation() 2020-02-13 16:18:50 -05:00
dir.c nfs: Replace zero-length array with flexible-array member 2020-03-16 10:16:26 -04:00
direct.c NFS: Try to join page groups before an O_DIRECT retransmission 2020-04-01 13:37:57 -04:00
dns_resolve.c
dns_resolve.h
export.c
file.c
fs_context.c NFS: Fix a few constant_table array definitions 2020-04-02 18:37:13 -04:00
fscache-index.c
fscache.c nfs: add minor version to nfs_server_key for fscache 2020-02-25 13:53:24 -05:00
fscache.h
getroot.c
inode.c NFS: alloc_nfs_open_context() must use the file cred when available 2020-03-16 08:34:28 -04:00
internal.h NFS: Remove the redundant function nfs_pgio_has_mirroring() 2020-04-01 13:37:56 -04:00
io.c
iostat.h
Kconfig
Makefile
mount_clnt.c
namespace.c NFS: Add a module parameter to set nfs_mountpoint_expiry_timeout 2020-04-02 18:53:59 -04:00
netns.h
nfs2super.c
nfs2xdr.c
nfs3_fs.h
nfs3acl.c
nfs3client.c
nfs3proc.c
nfs3super.c
nfs3xdr.c
nfs4_fs.h NFSv4: Add support for CB_RECALL_ANY for flexfiles layouts 2020-03-16 08:34:30 -04:00
nfs4client.c nfs: add minor version to nfs_server_key for fscache 2020-02-25 13:53:24 -05:00
nfs4file.c NFSv4.2: error out when relink swapfile 2020-03-16 10:14:30 -04:00
nfs4getroot.c
nfs4idmap.c
nfs4idmap.h
nfs4namespace.c nfs: Fix up documentation in nfs_follow_referral() and nfs_do_submount() 2020-03-17 18:40:57 -04:00
nfs4proc.c NFS: Beware when dereferencing the delegation cred 2020-04-03 18:26:02 -04:00
nfs4renewd.c NFSv4.0: nfs4_do_fsinfo() should not do implicit lease renewals 2020-02-04 12:27:55 -05:00
nfs4session.c
nfs4session.h
nfs4state.c NFSv4: Add support for CB_RECALL_ANY for flexfiles layouts 2020-03-16 08:34:30 -04:00
nfs4super.c
nfs4sysctl.c
nfs4trace.c
nfs4trace.h NFSv4: Add support for CB_RECALL_ANY for flexfiles layouts 2020-03-16 08:34:30 -04:00
nfs4xdr.c
nfs42.h
nfs42proc.c NFS: Fix memory leaks 2020-02-04 11:01:54 -05:00
nfs42xdr.c NFS: add ca_source_server<> to COPY 2019-10-09 12:05:49 -04:00
nfs.h
nfsroot.c nfsroot: set tcp as the default transport protocol 2020-03-25 08:45:47 -04:00
nfstrace.c
nfstrace.h NFS Client Updates for Linux 5.6 2020-02-07 17:39:56 -08:00
pagelist.c NFS: Refactor nfs_lock_and_join_requests() 2020-04-01 13:37:56 -04:00
pnfs_dev.c
pnfs_nfs.c NFS/pNFS: Fix pnfs_layout_mark_request_commit() invalid layout segment handling 2020-03-27 16:34:35 -04:00
pnfs.c pNFS/flexfiles: Check the layout segment range before doing I/O 2020-03-27 16:34:35 -04:00
pnfs.h pNFS/flexfiles: Check the layout segment range before doing I/O 2020-03-27 16:34:35 -04:00
proc.c
read.c
super.c NFS: Add a helper nfs_client_for_each_server() 2020-03-16 08:34:30 -04:00
symlink.c
sysctl.c
sysfs.c
sysfs.h
unlink.c NFS: Avoid referencing the cred twice in async rename/unlink 2020-03-16 08:34:29 -04:00
write.c NFS: Try to join page groups before an O_DIRECT retransmission 2020-04-01 13:37:57 -04:00