From: Al Viro Date: Wed, 13 Feb 2008 03:53:00 +0000 (+0000) Subject: dm-raid1 breakage on 64bit X-Git-Tag: v2.6.25-rc2~76 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=39ed7adb17bdec8224bd3fae551bb7222e05f35b;p=linux-2.6-omap-h63xx.git dm-raid1 breakage on 64bit test_and_set_bit() on address of uint32_t is a Bad Idea(tm)... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/md/dm-raid1.c b/drivers/md/dm-raid1.c index edc057f5cdc..2928ef22810 100644 --- a/drivers/md/dm-raid1.c +++ b/drivers/md/dm-raid1.c @@ -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; };