Skip to content

Commit

Permalink
Merge pull request dCache#67 from Toilal/fix-commit-response
Browse files Browse the repository at this point in the history
nfs4: set response committed value properly in op COMMIT based on VFS WriteResult return value
  • Loading branch information
kofemann authored Dec 12, 2018
2 parents c4e1219 + 7f9589c commit 6b2284b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/dcache/nfs/v4/OperationWRITE.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void process(CompoundContext context, nfs_resop4 result) throws ChimeraNF
res.status = nfsstat.NFS_OK;
res.resok4 = new WRITE4resok();
res.resok4.count = new count4(writeResult.getBytesWritten());
res.resok4.committed = stable_how4.FILE_SYNC4;
res.resok4.committed = writeResult.getStabilityLevel().toStableHow();
res.resok4.writeverf = context.getRebootVerifier();

}
Expand Down

0 comments on commit 6b2284b

Please sign in to comment.