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:
a1ec116
)
clear mod_close_req if we fail to send request
author
shadow
<shadow>
Thu, 4 Jun 2009 03:59:58 +0000
(
03:59
+0000)
committer
shadow
<shadow>
Thu, 4 Jun 2009 03:59:58 +0000
(
03:59
+0000)
Branch b1_8
b=19756
i=tappro
i=green
lustre/mdc/mdc_request.c
patch
|
blob
|
history
diff --git
a/lustre/mdc/mdc_request.c
b/lustre/mdc/mdc_request.c
index
3a2ed66
..
6a3701e
100644
(file)
--- a/
lustre/mdc/mdc_request.c
+++ b/
lustre/mdc/mdc_request.c
@@
-598,9
+598,6
@@
static void mdc_commit_open(struct ptlrpc_request *req)
if (mod == NULL)
return;
- if (mod->mod_close_req != NULL)
- mod->mod_close_req->rq_cb_data = NULL;
-
if (mod->mod_och != NULL)
mod->mod_och->och_mod = NULL;
@@
-892,8
+889,8
@@
int mdc_close(struct obd_export *exp, struct mdc_op_data *data, struct obdo *oa,
EXIT;
*request = req;
out:
- if (rc != 0 &&
req && req->rq_commit_cb
)
-
req->rq_commit_cb(req)
;
+ if (rc != 0 &&
och->och_mod
)
+
och->och_mod->mod_close_req = NULL
;
return rc;
}