]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a349ed1bbe0a3f68b076b19921f9af75fccb245
tree65cb33075b71b208f4acfd4dbe2d6fe3b5c29e41
parentdd849d8e0740f58e447999bf514ef57e8b18bc17
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