On Thu, 2020-09-10 at 18:46 +0800, lixiaokeng wrote: > If dm_get_major_minor failed, log with major and minor should not > be printed to avoid major and minor used before initialization. > > Here, we set major and minor to -1 at begining > > Signed-off-by: Lixiaokeng <lixiaokeng@xxxxxxxxxx> > Signed-off-by: Zhiqiang Liu <liuzhiqiang26@xxxxxxxxxx> > Signed-off-by: Linfeilong <linfeilong@xxxxxxxxxx> Reviewed-by: Martin Wilck <mwilck@xxxxxxxx> -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel