Whamcloud - gitweb
LU-12811 ptlrpc: pass buffer size to the swabbing functions
[fs/lustre-release.git] / lustre / mdt / mdt_hsm_cdt_agent.c
index a205b70..2bce139 100644 (file)
@@ -560,7 +560,7 @@ int mdt_hsm_agent_send(struct mdt_thread_info *mti,
         *  the ldlm_callback_handler. Note this sends a request RPC
         * from a server (MDT) to a client (MDC), backwards of normal comms.
         */
-       exp = cfs_hash_lookup(mdt2obd_dev(mdt)->obd_uuid_hash, &uuid);
+       exp = obd_uuid_lookup(mdt2obd_dev(mdt), &uuid);
        if (exp == NULL || exp->exp_disconnected) {
                if (exp != NULL)
                        class_export_put(exp);