NFS fix COMMIT after COPY

Fix a typo in the commit e092693443
"NFS append COMMIT after synchronous COPY"

Reported-by: Eryu Guan <[email protected]>
Fixes: e092693443 ("NFS append COMMIT after synchronous COPY")
Signed-off-by: Olga Kornievskaia <[email protected]>
Tested-by: Eryu Guan <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
This commit is contained in:
Olga Kornievskaia 2017-05-16 12:00:15 -04:00 • committed by Trond Myklebust
commit 6d3b5d8d8d

View file

@ -177,7 +177,7 @@ static ssize_t _nfs42_proc_copy(struct file *src,
if (status)
goto out;
if (!nfs_write_verifier_cmp(&res->write_res.verifier.verifier,
if (nfs_write_verifier_cmp(&res->write_res.verifier.verifier,
&res->commit_res.verf->verifier)) {
status = -EAGAIN;
goto out;