Skip to content

Commit

Permalink
nfs4: set response committed value properly in op COMMIT based on VFS…
Browse files Browse the repository at this point in the history
… WriteResult return value

Signed-off-by: Rémi Alvergnat <[email protected]>
  • Loading branch information
Toilal committed Dec 11, 2018
1 parent c4e1219 commit 7f9589c
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 7f9589c

Please sign in to comment.