Skip to content

Commit

Permalink
dm-raid1 breakage on 64bit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Feb 13, 2008
1 parent e6bafba commit 39ed7ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/dm-raid1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 39ed7ad

Please sign in to comment.