From: tappro Date: Mon, 11 Dec 2006 15:19:15 +0000 (+0000) Subject: - rewrite handle in close request X-Git-Tag: v1_8_0_110~486^2~9 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0d4cff4b7280c053a3a9bca762a03b198c84105a;p=fs%2Flustre-release.git - rewrite handle in close request --- diff --git a/lustre/mdc/mdc_request.c b/lustre/mdc/mdc_request.c index 27bb74f..927ee8e 100644 --- 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; }