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>
This commit is contained in:
Al Viro 2008-02-13 03:53:00 +00:00 committed by Linus Torvalds
parent e6bafba5b4
commit 39ed7adb17

View File

@ -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;
};