Include post-opeation file attributes for the NFS write operation.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Tue, 29 Dec 2009 05:35:58 +0000 (21:35 -0800)
committerMichael Vrable <mvrable@cs.ucsd.edu>
Tue, 29 Dec 2009 05:35:58 +0000 (21:35 -0800)
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;