]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: Ensure sampling of the write verifier is atomic with the write
authorTrond Myklebust <trondmy@gmail.com>
Mon, 6 Jan 2020 18:40:37 +0000 (13:40 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 22 Jan 2020 21:25:41 +0000 (16:25 -0500)
commit40559361e9f6cc19c38e4f5dd1c58ad5665ce37e
treee4efdf22bb6379391f5182a080db731fa855362d
parent19c401b001c8da86e79635067c6b9560341aa842
nfsd: Ensure sampling of the write verifier is atomic with the write

When doing an unstable write, we need to ensure that we sample the
write verifier before releasing the lock, and allowing a commit to
the same file to proceed.

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/nfsproc.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h
fs/nfsd/xdr3.h