summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2008-02-13 04:53:00 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-13 17:16:34 +0100
commit39ed7adb17bdec8224bd3fae551bb7222e05f35b (patch)
tree1bd24fe0fafe50f3d23e95f5fd87734e85bb346a /drivers/md
parentwmi: (!x & y) strikes again (diff)
downloadlinux-39ed7adb17bdec8224bd3fae551bb7222e05f35b.tar.xz
linux-39ed7adb17bdec8224bd3fae551bb7222e05f35b.zip
dm-raid1 breakage on 64bit
test_and_set_bit() on address of uint32_t is a Bad Idea(tm)... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-raid1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-raid1.c b/drivers/md/dm-raid1.c
index edc057f5cdcc..2928ef228101 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;
};