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

Fix the sparse warning about a context imbalance in the
srpc_service_post_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:508:17: warning: context imbalance in 'srpc_service_post_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