Include post-opeation file attributes for the NFS write operation.
[bluesky.git] / nfs3 / nfs3.c
index 2a25e0b..c668542 100644 (file)
@@ -357,6 +357,7 @@ nfsproc3_write_3_svc(write3args *argp, struct svc_req *rqstp)
                            argp->data.data_val, argp->count);
     }
 
+    wcc.after.present = TRUE;
     encode_fattr3(&wcc.after.post_op_attr_u.attributes, inode);
     result.write3res_u.resok.file_wcc = wcc;
     result.write3res_u.resok.count = argp->count;