summaryrefslogtreecommitdiff
path: root/Incremental.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-06-19 11:23:44 +1000
committerNeilBrown <neilb@suse.de>2013-06-19 11:23:44 +1000
commitfe7e0e64b096db44cfe23f6a03aaaf78e2427d8a (patch)
tree0312d7c1af74c17293d22e291238e69848a35ce8 /Incremental.c
parent8cde842b189368d7c27923497e5d6be9b35b241b (diff)
Manage: split Manage_runstop into Manage_run and Manage_stop
The two branches have virtually nothing in common, so it is simpler if they are separate. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Incremental.c')
-rw-r--r--Incremental.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Incremental.c b/Incremental.c
index ce89702f..fbaa29fe 100644
--- a/Incremental.c
+++ b/Incremental.c
@@ -1677,8 +1677,7 @@ int IncrementalRemove(char *devname, char *id_path, int verbose)
*/
int devid = devnm2devid(ent->devnm);
run_udisks("--unmount", map_dev(major(devid),minor(devid), 0));
- rv = Manage_runstop(ent->dev, mdfd, -1,
- verbose, 1);
+ rv = Manage_stop(ent->dev, mdfd, verbose, 1);
if (rv)
/* At least we can try to trigger a 'remove' */
sysfs_uevent(&mdi, "remove");