Whamcloud - gitweb
LU-14628 ptlrpc: remove might_sleep() in sptlrpc_gc_del_sec() 97/43397/3
authorNikitas Angelinas <nikitas.angelinas@hpe.com>
Thu, 15 Apr 2021 19:09:16 +0000 (12:09 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 5 May 2021 02:52:00 +0000 (02:52 +0000)
commitc31fb42f9aa561aef8b09fd3ff400cff0166ee4d
treec2e4937ced08f8ca5d5dcf5e28c916c3ba0d8af0
parent34b57a6f8fcd1bc57c0ba92e299bd39f3baa6cb5
LU-14628 ptlrpc: remove might_sleep() in sptlrpc_gc_del_sec()

sptlrpc_gc_del_sec() calls mutex_lock() which calls might_sleep(), so
the explicit might_sleep() call can be removed as redundant.

Signed-off-by: Nikitas Angelinas <nikitas.angelinas@hpe.com>
Test-Parameters: trivial
Change-Id: I48714fae12e63ba5e37ec0f9aa3ab7f688b9475d
Reviewed-on: https://review.whamcloud.com/43397
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/ptlrpc/sec_gc.c