>From d63f924a796e8414a77ecbef1145c7d6432e11bc Mon Sep 17 00:00:00 2001
From: Amit Kucheria <amit.kucheria@canonical.com>
Date: Thu, 23 Jul 2009 18:41:11 +0300
Subject: [PATCH] dm-raid-4-5: Add missing brackets around test_bit()

Without the brackets, the code fails to compile on ARM. This is because
on several architectures test_bit is defined as a macro. On
architectures that it isn't defined (such as ARM), the generic test_bit
implementation is used that is an inline function.

Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
Cc: Heinz Mauelshagen <Mauelshagen@redhat.com>
---
 ubuntu/dm-raid4-5/dm-raid4-5.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ubuntu/dm-raid4-5/dm-raid4-5.c b/ubuntu/dm-raid4-5/dm-raid4-5.c
index 4f32c68..52b21e9 100644
--- a/ubuntu/dm-raid4-5/dm-raid4-5.c
+++ b/ubuntu/dm-raid4-5/dm-raid4-5.c
@@ -4391,7 +4391,7 @@ static int devel_flags(struct dm_msg *msg, void *context)
 		if (test_bit(act_stats, &msg->action)) {
 			stats_reset(rs);
 			goto on;
-		} else if test_bit(act_overwrite, &msg->action) {
+		} else if (test_bit(act_overwrite, &msg->action)) {
 on:
 			set_bit(msg->spec->parm, &rs->io.flags);
 			return 0;
-- 
1.6.3.3

