staging: lustre: lnet: Replace semaphore ln_rc_signal with completion
authorBinoy Jayan <binoy.jayan@linaro.org>
Wed, 8 Jun 2016 07:50:42 +0000 (13:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2016 01:29:52 +0000 (18:29 -0700)
commit21ca52bb749e66cf755a8b8d6345a8fbbc17ce91
tree7400fb662631575d1c0209053cf596f45dff70d5
parent67b1a24e883c8ca716ca3524b2ca1ca5579a48be
staging: lustre: lnet: Replace semaphore ln_rc_signal with completion

The semaphore ln_rc_signal is used as completion, so convert it to
struct completion.  Semaphores are going away in the future.

Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org>
Acked-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/lnet/lib-types.h
drivers/staging/lustre/lnet/lnet/router.c