Properly fill in result code for lookups.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Mon, 24 Aug 2009 19:38:00 +0000 (12:38 -0700)
committerMichael Vrable <mvrable@turin.ucsd.edu>
Mon, 24 Aug 2009 19:38:00 +0000 (12:38 -0700)
nfs3/nfs3.c

index 15d5df3..da8d76b 100644 (file)
@@ -140,6 +140,7 @@ nfsproc3_lookup_3_svc(diropargs3 *argp, struct svc_req *rqstp)
         return &result;
     }
 
+    result.status = NFS3_OK;
     result.lookup3res_u.resok.dir_attributes.present = TRUE;
     encode_fattr3(&result.lookup3res_u.resok.dir_attributes.post_op_attr_u.attributes, dir);
     result.lookup3res_u.resok.obj_attributes.present = TRUE;