]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
NFS: Fix a commit bug
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 5 Jun 2012 22:32:03 +0000 (18:32 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 5 Jun 2012 22:38:47 +0000 (18:38 -0400)
commit9bce008bae8b57bc7b007bcc2071d1247a527120
treea9321dc576008102345f3b7d5df7859e5155233e
parentcdf66442fab82916fe38f928b4f91815195a294c
NFS: Fix a commit bug

The new commit code fails to copy the verifier into the wb_verf field
of _all_ the nfs_page structures; it only copies it into the first entry.
The consequence is that most requests end up failing to match in
nfs_commit_release.

Fix is to copy the verifier into the req->wb_verf field in
nfs_write_completion.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Fred Isaman <iisaman@netapp.com>
fs/nfs/direct.c
fs/nfs/write.c
include/linux/nfs_xdr.h