summaryrefslogtreecommitdiffstats
path: root/mdadm.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-07-09 09:22:12 +0200
committerNeilBrown <neilb@suse.de>2012-07-09 09:22:12 +0200
commit50f01ba5a1b5a006937d02864d03261eedaf5a9e (patch)
tree7137bb5aa81f084d65e9accbb21eba808c417693 /mdadm.c
parentUse new struct context and struct shape in Grow_reshape (diff)
downloadmdadm-50f01ba5a1b5a006937d02864d03261eedaf5a9e.tar.xz
mdadm-50f01ba5a1b5a006937d02864d03261eedaf5a9e.zip
Use new struct context and struct shape for Grow_addbitmap
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.c')
-rw-r--r--mdadm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdadm.c b/mdadm.c
index 222ba6c4..4c7c5ea5 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -1442,8 +1442,7 @@ int main(int argc, char *argv[])
}
if (c.delay == 0)
c.delay = DEFAULT_BITMAP_DELAY;
- rv = Grow_addbitmap(devlist->devname, mdfd, s.bitmap_file,
- s.bitmap_chunk, c.delay, s.write_behind, c.force);
+ rv = Grow_addbitmap(devlist->devname, mdfd, &c, &s);
} else if (grow_continue)
rv = Grow_continue_command(devlist->devname,
mdfd, c.backup_file,