diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2008-02-12 22:53:00 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-13 11:16:34 -0500 |
commit | 39ed7adb17bdec8224bd3fae551bb7222e05f35b (patch) | |
tree | 1bd24fe0fafe50f3d23e95f5fd87734e85bb346a /drivers/md | |
parent | e6bafba5b4765a5a252f1b8d31cbf6d2459da337 (diff) |
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.c | 2 |
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 { | |||
124 | struct mirror { | 124 | struct mirror { |
125 | struct mirror_set *ms; | 125 | struct mirror_set *ms; |
126 | atomic_t error_count; | 126 | atomic_t error_count; |
127 | uint32_t error_type; | 127 | unsigned long error_type; |
128 | struct dm_dev *dev; | 128 | struct dm_dev *dev; |
129 | sector_t offset; | 129 | sector_t offset; |
130 | }; | 130 | }; |