X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fptlrpc%2Fimport.c;h=309729fb120d0ff1b200f33a154d97934b7e86d2;hb=1a24137e8f26eaae9a2dac39a1e8a8a0bed46b6b;hp=7406c4de745f6f2d36e99f620dde44f9af481a86;hpb=c7342f2d57745fe020d87012be52354d48a1bf7e;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/import.c b/lustre/ptlrpc/import.c index 7406c4d..309729f 100644 --- a/lustre/ptlrpc/import.c +++ b/lustre/ptlrpc/import.c @@ -417,13 +417,13 @@ static int import_select_connection(struct obd_import *imp) /* switch connection, don't mind if it's same as the current one */ if (imp->imp_connection) - ptlrpc_put_connection(imp->imp_connection); + ptlrpc_connection_put(imp->imp_connection); imp->imp_connection = ptlrpc_connection_addref(imp_conn->oic_conn); dlmexp = class_conn2export(&imp->imp_dlm_handle); LASSERT(dlmexp != NULL); if (dlmexp->exp_connection) - ptlrpc_put_connection(dlmexp->exp_connection); + ptlrpc_connection_put(dlmexp->exp_connection); dlmexp->exp_connection = ptlrpc_connection_addref(imp_conn->oic_conn); class_export_put(dlmexp);