projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2527b56
)
dm raid: fix new superblock/bitmap creation on disk addition
author
Heinz Mauelshagen
<heinzm@redhat.com>
Thu, 23 Jun 2016 23:06:28 +0000
(
01:06
+0200)
committer
Mike Snitzer
<snitzer@redhat.com>
Mon, 18 Jul 2016 19:37:26 +0000
(15:37 -0400)
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-raid.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-raid.c
b/drivers/md/dm-raid.c
index 457220217a93d8b45059c88d2816645653cac7c9..5e41bf34eb872b2abe136ca943010482933c7ce2 100644
(file)
--- a/
drivers/md/dm-raid.c
+++ b/
drivers/md/dm-raid.c
@@
-2850,8
+2850,9
@@
static int raid_ctr(struct dm_target *ti, unsigned argc, char **argv)
set_bit(RT_FLAG_KEEP_RS_FROZEN, &rs->runtime_flags);
}
+ /* Create new superblocks and bitmaps, if any */
if (rs->md.raid_disks < rs->raid_disks)
- set_bit(
MD_ARRAY_FIRST_USE, &mddev->
flags);
+ set_bit(
RT_FLAG_UPDATE_SBS, &rs->runtime_
flags);
rs_set_cur(rs);
rs_setup_recovery(rs, MaxSector);