projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6bafba
)
dm-raid1 breakage on 64bit
author
Al Viro
<viro@ZenIV.linux.org.uk>
Wed, 13 Feb 2008 03:53:00 +0000
(
03:53
+0000)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 13 Feb 2008 16:16:34 +0000
(08:16 -0800)
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>
drivers/md/dm-raid1.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-raid1.c
b/drivers/md/dm-raid1.c
index edc057f5cdccf2b07dc09dcfe83fda5f37a811cb..2928ef228101e941ff3876b454601d59b938a1ac 100644
(file)
--- 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;
- u
int32_t
error_type;
+ u
nsigned long
error_type;
struct dm_dev *dev;
sector_t offset;
};