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

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

  drivers/staging/lustre/lnet/selftest/rpc.c:725:20: warning: context imbalance in 'srpc_service_recycle_buffer' - unexpected unlock

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