X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fptlrpc%2Fimport.c;h=bc65d15884bc645d292d5550eb9eed02f100c68d;hp=9c1d17b4862dd5b8f9c6a7deeaa5022d265856af;hb=9c6ebfd11be1cc11629a2960c8c818492e1f0980;hpb=356c89a106229bf33fc2897d346c55aaadfd6c82 diff --git a/lustre/ptlrpc/import.c b/lustre/ptlrpc/import.c index 9c1d17b..bc65d15 100644 --- a/lustre/ptlrpc/import.c +++ b/lustre/ptlrpc/import.c @@ -198,7 +198,7 @@ int ptlrpc_set_import_discon(struct obd_import *imp, __u32 conn_cnt) static void ptlrpc_deactivate_and_unlock_import(struct obd_import *imp) { ENTRY; - LASSERT_SPIN_LOCKED(&imp->imp_lock); + LASSERT(spin_is_locked(&imp->imp_lock)); CDEBUG(D_HA, "setting import %s INVALID\n", obd2cli_tgt(imp->imp_obd)); imp->imp_invalid = 1;