[dm-devel] [PATCH] multipath-tools: replace static value with default_variable for flush_on_last_del

Christophe Varoqui christophe.varoqui at opensvc.com
Wed Oct 19 06:03:57 UTC 2016


Merged

On Mon, Oct 17, 2016 at 7:09 PM, Xose Vazquez Perez <xose.vazquez at gmail.com>
wrote:

> Cc: Benjamin Marzinski <bmarzins at redhat.com>
> Cc: Hannes Reinecke <hare at suse.de>
> Cc: Christophe Varoqui <christophe.varoqui at opensvc.com>
> Cc: device-mapper development <dm-devel at redhat.com>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez at gmail.com>
> ---
>  libmultipath/config.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libmultipath/config.c b/libmultipath/config.c
> index a48b8af..92e4deb 100644
> --- a/libmultipath/config.c
> +++ b/libmultipath/config.c
> @@ -597,7 +597,7 @@ load_config (char * file)
>         conf->wwids_file = set_default(DEFAULT_WWIDS_FILE);
>         conf->multipath_dir = set_default(DEFAULT_MULTIPATHDIR);
>         conf->features = set_default(DEFAULT_FEATURES);
> -       conf->flush_on_last_del = 0;
> +       conf->flush_on_last_del = DEFAULT_FLUSH;
>         conf->attribute_flags = 0;
>         conf->reassign_maps = DEFAULT_REASSIGN_MAPS;
>         conf->checkint = DEFAULT_CHECKINT;
> --
> 2.10.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20161019/1d665efb/attachment.htm>


More information about the dm-devel mailing list