X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flustre_mdc.h;h=3883993a51914b910de6594f996874e0ecfefaa0;hp=fef3fa00cf5ee32efe2acd0a8472fd9d263e19cb;hb=85a12c6c8d7a6d40fc81c73f9b900475b58e3e98;hpb=23773b32bfe15fccc9c029d722dc1bd5b0144779 diff --git a/lustre/include/lustre_mdc.h b/lustre/include/lustre_mdc.h index fef3fa0..3883993 100644 --- a/lustre/include/lustre_mdc.h +++ b/lustre/include/lustre_mdc.h @@ -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. *