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:
0dfeb47
)
- rewrite handle in close request
author
tappro
<tappro>
Mon, 11 Dec 2006 15:19:15 +0000
(15:19 +0000)
committer
tappro
<tappro>
Mon, 11 Dec 2006 15:19:15 +0000
(15:19 +0000)
lustre/mdc/mdc_request.c
patch
|
blob
|
history
diff --git
a/lustre/mdc/mdc_request.c
b/lustre/mdc/mdc_request.c
index
27bb74f
..
927ee8e
100644
(file)
--- a/
lustre/mdc/mdc_request.c
+++ b/
lustre/mdc/mdc_request.c
@@
-658,8
+658,6
@@
static void mdc_replay_open(struct ptlrpc_request *req)
memcpy(file_fh, &body->handle, sizeof(*file_fh));
}
close_req = mod->mod_close_req;
-/* XXX comment that out due to old_handle in mfd to solve the same issue */
-#if 0
if (close_req != NULL) {
struct mdt_epoch *epoch;
@@
-674,7
+672,6
@@
static void mdc_replay_open(struct ptlrpc_request *req)
DEBUG_REQ(D_HA, close_req, "updating close body with new fh");
memcpy(&epoch->handle, &body->handle, sizeof(epoch->handle));
}
-#endif
EXIT;
}