Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42217cd
)
Minor fixups for error handling case.
author
adilger
<adilger>
Tue, 13 Aug 2002 21:53:30 +0000
(21:53 +0000)
committer
adilger
<adilger>
Tue, 13 Aug 2002 21:53:30 +0000
(21:53 +0000)
lustre/osc/osc_request.c
patch
|
blob
|
history
diff --git
a/lustre/osc/osc_request.c
b/lustre/osc/osc_request.c
index
9c543d2
..
cc0d794
100644
(file)
--- a/
lustre/osc/osc_request.c
+++ b/
lustre/osc/osc_request.c
@@
-409,7
+409,7
@@
static int osc_brw_read(struct lustre_handle *conn, struct lov_stripe_md *md,
*/
rc = ptlrpc_register_bulk(desc);
if (rc)
- GOTO(out_
desc
, rc);
+ GOTO(out_
unmap
, rc);
request->rq_replen = lustre_msg_size(1, size);
rc = ptlrpc_queue_wait(request);
@@
-439,12
+439,12
@@
out_req:
RETURN(rc);
/* Clean up on error. */
-out_desc:
- ptlrpc_bulk_decref(desc);
out_unmap:
while (mapped-- > 0)
kunmap(page_array[mapped]);
OBD_FREE(cb_data, sizeof(*cb_data));
+out_desc:
+ ptlrpc_bulk_decref(desc);
goto out_req;
}