down_trylock -> down_try in drivers/md/dm-raid1.c

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
 drivers/md/dm-raid1.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r a7a198f41e1d drivers/md/dm-raid1.c
--- a/drivers/md/dm-raid1.c	Tue May 06 10:17:33 2008 +1000
+++ b/drivers/md/dm-raid1.c	Tue May 06 10:29:25 2008 +1000
@@ -587,7 +587,7 @@ static void rh_recovery_prepare(struct r
 	/* Extra reference to avoid race with rh_stop_recovery */
 	atomic_inc(&rh->recovery_in_flight);
 
-	while (!down_trylock(&rh->recovery_count)) {
+	while (down_try(&rh->recovery_count)) {
 		atomic_inc(&rh->recovery_in_flight);
 		if (__rh_recovery_prepare(rh) <= 0) {
 			atomic_dec(&rh->recovery_in_flight);
