Whamcloud - gitweb
LU-12828 ldlm: FLOCK request can be processed twice
[fs/lustre-release.git] / lustre / include / lustre_mdc.h
index fef3fa0..3883993 100644 (file)
@@ -63,32 +63,6 @@ struct obd_export;
 struct ptlrpc_request;
 struct obd_device;
 
-static inline void mdc_get_mod_rpc_slot(struct ptlrpc_request *req,
-                                       struct lookup_intent *it)
-{
-       struct client_obd *cli = &req->rq_import->imp_obd->u.cli;
-       __u32 opc;
-       __u16 tag;
-
-       opc = lustre_msg_get_opc(req->rq_reqmsg);
-       tag = obd_get_mod_rpc_slot(cli, opc, it);
-       lustre_msg_set_tag(req->rq_reqmsg, tag);
-       ptlrpc_reassign_next_xid(req);
-}
-
-static inline void mdc_put_mod_rpc_slot(struct ptlrpc_request *req,
-                                       struct lookup_intent *it)
-{
-       struct client_obd *cli = &req->rq_import->imp_obd->u.cli;
-       __u32 opc;
-       __u16 tag;
-
-       opc = lustre_msg_get_opc(req->rq_reqmsg);
-       tag = lustre_msg_get_tag(req->rq_reqmsg);
-       obd_put_mod_rpc_slot(cli, opc, it, tag);
-}
-
-
 /**
  * Update the maximum possible easize.
  *