kernel-fxtec-pro1x/fs/nfs
Olga Kornievskaia 90d73c1cad NFSv4.x: fix lock recovery during delegation recall
[ Upstream commit 44f411c353bf6d98d5a34f8f1b8605d43b2e50b8 ]

Running "./nfstest_delegation --runtest recall26" uncovers that
client doesn't recover the lock when we have an appending open,
where the initial open got a write delegation.

Instead of checking for the passed in open context against
the file lock's open context. Check that the state is the same.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-24 08:20:24 +01:00
..
blocklayout
filelayout PNFS fallback to MDS if no deviceid found 2019-05-25 18:23:28 +02:00
flexfilelayout pnfs/flexfiles: Fix PTR_ERR() dereferences in ff_layout_track_ds_error 2019-07-26 09:14:22 +02:00
cache_lib.c
cache_lib.h
callback.c
callback.h
callback_proc.c NFSv4.2 copy do not allocate memory under the lock 2018-12-13 09:16:14 +01:00
callback_xdr.c
client.c NFS: Cleanup if nfs_match_client is interrupted 2019-08-04 09:30:54 +02:00
delegation.c NFSv4.x: fix lock recovery during delegation recall 2019-11-24 08:20:24 +01:00
delegation.h NFSv4: Don't allow a cached open with a revoked delegation 2019-11-12 19:21:16 +01:00
dir.c NFSv4: Fix return value in nfs_finish_open() 2019-09-21 07:16:56 +02:00
direct.c NFS: Fix O_DIRECT accounting of number of bytes read/written 2019-10-17 13:45:30 -07:00
dns_resolve.c
dns_resolve.h
export.c
file.c
fscache-index.c
fscache.c NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts 2019-08-29 08:28:39 +02:00
fscache.h NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts 2019-08-29 08:28:39 +02:00
getroot.c
inode.c NFSv4: Handle the special Linux file open access mode 2019-07-26 09:14:22 +02:00
internal.h
io.c
iostat.h
Kconfig
Makefile
mount_clnt.c
namespace.c
netns.h
nfs.h
nfs2super.c
nfs2xdr.c
nfs3_fs.h
nfs3acl.c
nfs3client.c
nfs3proc.c
nfs3super.c
nfs3xdr.c
nfs4_fs.h NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim() 2019-08-29 08:28:38 +02:00
nfs4client.c NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim() 2019-08-29 08:28:38 +02:00
nfs4file.c NFSv4: Fix return values for nfs4_file_open() 2019-09-21 07:16:55 +02:00
nfs4getroot.c
nfs4idmap.c keys: Fix dependency loop between construction record and auth key 2019-03-23 20:09:48 +01:00
nfs4idmap.h
nfs4namespace.c
nfs4proc.c NFSv4: Don't allow a cached open with a revoked delegation 2019-11-12 19:21:16 +01:00
nfs4renewd.c
nfs4session.c
nfs4session.h
nfs4state.c NFSv4: Ensure that the state manager exits the loop on SIGKILL 2019-11-06 13:05:29 +01:00
nfs4super.c
nfs4sysctl.c
nfs4trace.c
nfs4trace.h NFSv4: Fix a tracepoint Oops in initiate_file_draining() 2018-09-14 16:24:08 -04:00
nfs4xdr.c fs: nfs: Fix possible null-pointer dereferences in encode_attrs() 2019-10-11 18:21:11 +02:00
nfs42.h
nfs42proc.c NFSv4.1 fix incorrect return value in copy_file_range 2019-05-31 06:46:03 -07:00
nfs42xdr.c
nfsroot.c
nfstrace.c
nfstrace.h
pagelist.c NFS: Fix initialisation of I/O result struct in nfs_pgio_rpcsetup 2019-09-21 07:16:56 +02:00
pnfs.c pNFS: Ensure we do clear the return-on-close layout stateid on fatal errors 2019-10-11 18:21:17 +02:00
pnfs.h pNFS: When updating the stateid in layoutreturn, also update the recall range 2018-08-16 13:29:36 -04:00
pnfs_dev.c
pnfs_nfs.c NFSv4: Fix locking in pnfs_generic_recover_commit_reqs 2018-08-15 11:43:38 -04:00
proc.c NFSv2: Fix write regression 2019-09-21 07:17:02 +02:00
read.c NFS: Pass error information to the pgio error cleanup routine 2019-09-06 10:22:23 +02:00
super.c NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts 2019-08-29 08:28:39 +02:00
symlink.c
sysctl.c
unlink.c
write.c nfs: Fix nfsi->nrequests count error on nfs_inode_remove_request 2019-11-06 13:05:47 +01:00