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:
parent
e6bafba5b4
commit
39ed7adb17
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue