From b75dac352548e81662d1c9d3fab5e3771c9a9649 Mon Sep 17 00:00:00 2001 From: pschwan Date: Thu, 20 Feb 2003 22:16:51 +0000 Subject: [PATCH] fix uninitialized variable warning --- lustre/mds/mds_open.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/mds/mds_open.c b/lustre/mds/mds_open.c index 845afd7..b28ae50 100644 --- a/lustre/mds/mds_open.c +++ b/lustre/mds/mds_open.c @@ -134,6 +134,7 @@ void reconstruct_open(struct mds_update_record *rec, struct ptlrpc_request *req) if ((obd->obd_flags & OBD_RECOVERING) == 0) { struct list_head *t; + mfd = NULL; list_for_each(t, &med->med_open_head) { mfd = list_entry(t, struct mds_file_data, mfd_list); if (mfd->mfd_xid == req->rq_xid) -- 1.8.3.1