NFS fix COMMIT after COPY
Subsystems (2)
PATCH 1/1 NFS fix COMMIT after COPY
Fix a typo in the commit e092693443b995c8e3a565a73b5fdb05f1260f9b "NFS append COMMIT after synchronous COPY"
Reported-by Eryu Guan <[email protected]>
Fixes e092693443b ("NFS append COMMIT after synchronous COPY")
Signed-off-by Olga Kornievskaia <[email protected]>
--- fs/nfs/nfs42proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/nfs/nfs42proc.c +1 -1
@@ -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;
Signature · 1 line
1.8.3.1
Quoted 6 lines · Olga Kornievskaia
Fix a typo in the commit
e092693443b995c8e3a565a73b5fdb05f1260f9b"NFS append COMMIT after synchronous COPY"Reported-by Eryu Guan <[email protected]>Fixes e092693443b ("NFS append COMMIT after synchronous COPY")Signed-off-by Olga Kornievskaia <[email protected]>
Thanks! This did fix the hang for me.
Tested-by Eryu Guan <[email protected]>
Quoted 24 lines
--- fs/nfs/nfs42proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/nfs/nfs42proc.c +1
-1@@ -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;Signature · 6 lines
1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html