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:
1b1954c
)
fix a blunder in osc_connect that frees the connection before
author
braam
<braam>
Sun, 30 Jun 2002 20:33:59 +0000
(20:33 +0000)
committer
braam
<braam>
Sun, 30 Jun 2002 20:33:59 +0000
(20:33 +0000)
returning success.
lustre/osc/osc_request.c
patch
|
blob
|
history
diff --git
a/lustre/osc/osc_request.c
b/lustre/osc/osc_request.c
index
7a34b91
..
baa3185
100644
(file)
--- a/
lustre/osc/osc_request.c
+++ b/
lustre/osc/osc_request.c
@@
-66,7
+66,7
@@
static int osc_connect(struct lustre_handle *conn, struct obd_device *obd)
MOD_INC_USE_COUNT;
rc = class_connect(conn, obd);
- if (rc)
+ if (rc)
RETURN(rc);
osc_obd2cl(obd, &cl, &connection);
@@
-89,6
+89,7
@@
static int osc_connect(struct lustre_handle *conn, struct obd_device *obd)
osc->osc_connh.cookie = request->rq_repmsg->cookie;
EXIT;
+ return 0;
out:
ptlrpc_free_req(request);
out_disco: