X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fptlrpc%2Fsec_gc.c;h=171ed3ae90a4a5d0f5214a7a17d63ced56ca3945;hp=474a73049f8437751d9c116ed314aba1458a4a71;hb=c31fb42f9aa561aef8b09fd3ff400cff0166ee4d;hpb=83ddd179225821e5c2aee1adb72dab26150ab385 diff --git a/lustre/ptlrpc/sec_gc.c b/lustre/ptlrpc/sec_gc.c index 474a730..171ed3a 100644 --- a/lustre/ptlrpc/sec_gc.c +++ b/lustre/ptlrpc/sec_gc.c @@ -75,8 +75,6 @@ void sptlrpc_gc_del_sec(struct ptlrpc_sec *sec) if (list_empty(&sec->ps_gc_list)) return; - might_sleep(); - /* signal before list_del to make iteration in gc thread safe */ atomic_inc(&sec_gc_wait_del);