From: adilger Date: Mon, 19 Aug 2002 20:46:56 +0000 (+0000) Subject: Fix case where rc was not set. X-Git-Tag: 0.5.5~129 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=1fce4db5476141d68693dd21700d84614391fa17;p=fs%2Flustre-release.git Fix case where rc was not set. --- 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)