nfsd: Ensure sampling of the commit verifier is atomic with the commit
authorTrond Myklebust <trondmy@gmail.com>
Mon, 6 Jan 2020 18:40:36 +0000 (13:40 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 22 Jan 2020 21:25:41 +0000 (16:25 -0500)
commit524ff1af226ce0f6348d48b413849b2bd16c5b60
tree65cb33075b71b208f4acfd4dbe2d6fe3b5c29e41
parent809fe3c533789ebb51c1873b80c7dafbad9dbf19
nfsd: Ensure sampling of the commit verifier is atomic with the commit

When we have a successful commit, ensure we sample the commit verifier
before releasing the lock.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs3proc.c
fs/nfsd/nfs3xdr.c
fs/nfsd/nfs4proc.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h
fs/nfsd/xdr3.h