mirror of https://gitee.com/openkylin/linux.git
staging: lustre: fix sparse warning "unexpected unlock"
Fix the following warning in lib-eq.c warning: context imbalance in 'lnet_eq_wait_locked' - unexpected unlock Signed-off-by: Toby Smith <toby@tismith.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
773e4c41d9
commit
e69ae73b62
|
@ -325,6 +325,7 @@ EXPORT_SYMBOL(LNetEQWait);
|
|||
|
||||
static int
|
||||
lnet_eq_wait_locked(int *timeout_ms)
|
||||
__must_hold(&the_lnet.ln_eq_wait_lock)
|
||||
{
|
||||
int tms = *timeout_ms;
|
||||
int wait;
|
||||
|
|
Loading…
Reference in New Issue