diff --git a/core/src/main/java/org/dcache/nfs/v4/OperationWRITE.java b/core/src/main/java/org/dcache/nfs/v4/OperationWRITE.java index 42045aaa4..ff0d42b7c 100644 --- a/core/src/main/java/org/dcache/nfs/v4/OperationWRITE.java +++ b/core/src/main/java/org/dcache/nfs/v4/OperationWRITE.java @@ -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(); }