Whamcloud - gitweb
Fix case where rc was not set.
authoradilger <adilger>
Mon, 19 Aug 2002 20:46:56 +0000 (20:46 +0000)
committeradilger <adilger>
Mon, 19 Aug 2002 20:46:56 +0000 (20:46 +0000)
lustre/ost/ost_handler.c

index 9792e6d..feea1a1 100644 (file)
@@ -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)