From: Michael Vrable Date: Mon, 24 Aug 2009 19:38:00 +0000 (-0700) Subject: Properly fill in result code for lookups. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=009b5ac34f0661689082ebeb61cb3a43b0896a55;p=bluesky.git Properly fill in result code for lookups. --- diff --git a/nfs3/nfs3.c b/nfs3/nfs3.c index 15d5df3..da8d76b 100644 --- a/nfs3/nfs3.c +++ b/nfs3/nfs3.c @@ -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;