Whamcloud - gitweb
LU-14628 ptlrpc: remove might_sleep() in sptlrpc_gc_del_sec()
[fs/lustre-release.git] / lustre / ptlrpc / sec_gc.c
index 474a730..171ed3a 100644 (file)
@@ -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);