test_and_set_bit() on address of uint32_t is a Bad Idea(tm)... Signed-off-by: Al Viro Signed-off-by: Alasdair G Kergon --- drivers/md/dm-raid1.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.25-rc1/drivers/md/dm-raid1.c =================================================================== --- linux-2.6.25-rc1.orig/drivers/md/dm-raid1.c 2008-02-11 13:18:00.000000000 +0000 +++ linux-2.6.25-rc1/drivers/md/dm-raid1.c 2008-02-13 17:02:07.000000000 +0000 @@ -124,7 +124,7 @@ enum dm_raid1_error { struct mirror { struct mirror_set *ms; atomic_t error_count; - uint32_t error_type; + unsigned long error_type; struct dm_dev *dev; sector_t offset; };