projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c28399b
)
md: Fix apparent cut-and-paste error in super_90_validate
author
Dave Jones
<davej@redhat.com>
Tue, 20 Aug 2013 02:26:32 +0000
(22:26 -0400)
committer
NeilBrown
<neilb@suse.de>
Tue, 27 Aug 2013 06:06:17 +0000
(16:06 +1000)
Setting a variable to itself probably wasn't the intention here.
Signed-off-by: Dave Jones <davej@fedoraproject.org>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c
patch
|
blob
|
history
diff --git
a/drivers/md/md.c
b/drivers/md/md.c
index
16b0822
..
a2678d8
100644
(file)
--- a/
drivers/md/md.c
+++ b/
drivers/md/md.c
@@
-1180,7
+1180,7
@@
static int super_90_validate(struct mddev *mddev, struct md_rdev *rdev)
mddev->bitmap_info.offset =
mddev->bitmap_info.default_offset;
mddev->bitmap_info.space =
- mddev->bitmap_info.space;
+ mddev->bitmap_info.
default_
space;
}
} else if (mddev->pers == NULL) {