From: shaver Date: Mon, 24 Feb 2003 19:35:18 +0000 (+0000) Subject: - Quell (spurious, but I don't blame gcc for getting it wrong) "uninitialized X-Git-Tag: v1_7_110~2^11~175 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=944079ace2539e3fad261471c3654e111ee247a8;p=fs%2Flustre-release.git - 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). --- 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} };