From 1fce4db5476141d68693dd21700d84614391fa17 Mon Sep 17 00:00:00 2001 From: adilger Date: Mon, 19 Aug 2002 20:46:56 +0000 Subject: [PATCH] Fix case where rc was not set. --- lustre/ost/ost_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ost/ost_handler.c b/lustre/ost/ost_handler.c index 9792e6d..feea1a1 100644 --- a/lustre/ost/ost_handler.c +++ b/lustre/ost/ost_handler.c @@ -250,7 +250,7 @@ static int ost_brw_read(struct ptlrpc_request *req) tmp1, niocount, tmp2, local_nb, NULL); if (req->rq_status) - GOTO(out, 0); + GOTO(out, rc = 0); desc = ptlrpc_prep_bulk(req->rq_connection); if (desc == NULL) -- 1.8.3.1