staging: lustre: selftest: fix sfw_deactivate_session context imbalance
authorJeremiah Mahler <jmmahler@gmail.com>
Sat, 27 Dec 2014 20:46:48 +0000 (12:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 23:52:58 +0000 (15:52 -0800)
commit8a136d117d4508d3a701e70e608077032dc1b909
treecdda7ebdf9515aee60fb49e9fa77b171b9617ade
parent62366bf14c9a198ae4daadffd4d8c4156febfd18
staging: lustre: selftest: fix sfw_deactivate_session context imbalance

Fix the sparse warning about a context imbalance in the
sfw_deactivate_session function by telling sparse that it
should expect the lock to be held on entry and held on exit.

  drivers/staging/lustre/lnet/selftest/framework.c:210:9: warning: context imbalance in 'sfw_deactivate_session' - unexpected unlock

Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/selftest/framework.c