On Tue, 2023-12-12 at 18:53 -0500, Benjamin Marzinski wrote: > If removing a multipath device fails because the device is in use, > return DM_FLUSH_BUSY from remove_functions, which causes > cli_del_map() > to return -EBUSY, which will not print extra information in > default_reply(). > > Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> This is slightly unclean, because do_foreach_partmaps() works with generic int return codes and not with the DM_FLUSH_xyz enum. Yet: Reviewed-by: Martin Wilck <mwilck@xxxxxxxx>