From 944079ace2539e3fad261471c3654e111ee247a8 Mon Sep 17 00:00:00 2001 From: shaver Date: Mon, 24 Feb 2003 19:35:18 +0000 Subject: [PATCH] - Quell (spurious, but I don't blame gcc for getting it wrong) "uninitialized use of dchild" warning. - Reconstruct rename replies (easy, until I go back and make them all work in the failed-over case). --- lustre/mds/mds_open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mds/mds_open.c b/lustre/mds/mds_open.c index 8e15586..50ca592 100644 --- a/lustre/mds/mds_open.c +++ b/lustre/mds/mds_open.c @@ -201,7 +201,7 @@ int mds_open(struct mds_update_record *rec, int offset, struct ldlm_reply *rep = lustre_msg_buf(req->rq_repmsg, 0); struct file *file; struct mds_body *body = lustre_msg_buf(req->rq_repmsg, 1); - struct dentry *dchild, *parent; + struct dentry *dchild = NULL, *parent; struct mds_export_data *med; struct mds_file_data *mfd = NULL; struct ldlm_res_id child_res_id = { .name = {0} }; -- 1.8.3.1