From 009b5ac34f0661689082ebeb61cb3a43b0896a55 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Mon, 24 Aug 2009 12:38:00 -0700 Subject: [PATCH] Properly fill in result code for lookups. --- nfs3/nfs3.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.20.1