X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fost%2Fost_handler.c;h=5b7e34e44891f46f295bac55c4de5313e70e49d2;hp=fc7d74d08b7802ba418400be49a1f8d0672a0edd;hb=93a6346f8b73f68cb5bc02a3c826ac0e5b4c236e;hpb=9b1526b9431eb8687bc09306d3f440e7eda2aedf diff --git a/lustre/ost/ost_handler.c b/lustre/ost/ost_handler.c index fc7d74d..5b7e34e 100644 --- a/lustre/ost/ost_handler.c +++ b/lustre/ost/ost_handler.c @@ -2494,19 +2494,6 @@ int ost_handle(struct ptlrpc_request *req) if (rc) RETURN(rc); RETURN(ptlrpc_reply(req)); - case OBD_LOG_CANCEL: - CDEBUG(D_INODE, "log cancel\n"); - req_capsule_set(&req->rq_pill, &RQF_LOG_CANCEL); - if (OBD_FAIL_CHECK(OBD_FAIL_OBD_LOG_CANCEL_NET)) - RETURN(0); - rc = llog_origin_handle_cancel(req); - if (OBD_FAIL_CHECK(OBD_FAIL_OBD_LOG_CANCEL_REP)) - RETURN(0); - req->rq_status = rc; - rc = req_capsule_server_pack(&req->rq_pill); - if (rc) - RETURN(rc); - RETURN(ptlrpc_reply(req)); case LDLM_ENQUEUE: CDEBUG(D_INODE, "enqueue\n"); req_capsule_set(&req->rq_pill, &RQF_LDLM_ENQUEUE);