if (dmt->no_open_count)
dmi->flags |= DM_SKIP_BDGET_FLAG;
- log_debug("dm %s %s %s%s%s %c %.0llu %s [%u]",
+ log_debug("dm %s %s %s%s%s %s%0" PRIu32 "%s%0" PRIu32
+ "%s%c %.0llu %s [%u]",
_cmd_data_v4[dmt->type].name,
dmi->name, dmi->uuid, dmt->newname ? " " : "",
dmt->newname ? dmt->newname : "",
+ dmt->major > 0 ? "(" : "",
+ dmt->major,
+ dmt->major > 0 ? ":" : "",
+ dmt->minor,
+ dmt->major > 0 ? ") " : "",
dmt->no_open_count ? 'N' : 'O',
dmt->sector, dmt->message ? dmt->message : "",
dmi->data_size);
int dm_task_set_major(struct dm_task *dmt, int major)
{
dmt->major = major;
- log_debug("Setting major: %d", dmt->major);
return 1;
}
int dm_task_set_minor(struct dm_task *dmt, int minor)
{
dmt->minor = minor;
- log_debug("Setting minor: %d", dmt->minor);
return 1;
}
}
/* Ignore if it doesn't belong to this VG */
- if (strncmp(uuid, uuid_prefix, uuid_prefix_len)) {
- stack;
+ if (strncmp(uuid, uuid_prefix, uuid_prefix_len))
continue;
- }
/* Refresh open_count */
if (!_info_by_dev(dinfo->major, dinfo->minor, &info) ||