X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fptlrpc%2Fsec.c;h=5c44f89cb8d622dd90cd035d47c5b8bec4966664;hp=5728e5e420991c4fe98484684713b7344b1ebccc;hb=135fea8fa986d7abf107953b5b9a57170a418eda;hpb=5c53c353fd823df93fbee07f4c62786899584ab2 diff --git a/lustre/ptlrpc/sec.c b/lustre/ptlrpc/sec.c index 5728e5e..5c44f89 100644 --- a/lustre/ptlrpc/sec.c +++ b/lustre/ptlrpc/sec.c @@ -402,11 +402,9 @@ static int import_sec_validate_get(struct obd_import *imp, } *sec = sptlrpc_import_sec_ref(imp); - /* Only output an error when the import is still active */ if (*sec == NULL) { - if (list_empty(&imp->imp_zombie_chain)) - CERROR("import %p (%s) with no sec\n", - imp, ptlrpc_import_state_name(imp->imp_state)); + CERROR("import %p (%s) with no sec\n", + imp, ptlrpc_import_state_name(imp->imp_state)); return -EACCES; }