X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fmount.c;h=ddc2b5d58f4a4dd42a7f5a5c6bf0b752b6ec541b;hb=9326b2fd753cf4a714d40d5c190ba04b16261510;hp=4ca03652d3cc59bb587b4fd961f48fad6dceced6;hpb=14170370290dea8c3a7176b6e19b80ba7cbbfa57;p=bacula%2Fbacula diff --git a/bacula/src/stored/mount.c b/bacula/src/stored/mount.c index 4ca03652d3..ddc2b5d58f 100644 --- a/bacula/src/stored/mount.c +++ b/bacula/src/stored/mount.c @@ -445,7 +445,7 @@ static int try_autolabel(DCR *dcr) Dmsg0(150, "Create volume label\n"); /* Create a new Volume label and write it to the device */ if (!write_new_volume_label_to_dev(dcr, dcr->VolumeName, - dcr->pool_name, false /* defer DVD label */)) { + dcr->pool_name, false, /* no relabel */ false /* defer DVD label */)) { Dmsg0(150, "!write_vol_label\n"); mark_volume_in_error(dcr); return try_next_vol;