]> 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)
commitba08305395c167250212486d13191f19a3c11b3a
treee4efdf22bb6379391f5182a080db731fa855362d
parent2a349ed1bbe0a3f68b076b19921f9af75fccb245
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