1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 06:25:37 +03:00

loop-util: add debug message with details about acquired loopback device

This commit is contained in:
Lennart Poettering 2022-04-05 23:36:33 +02:00
parent 3e9210577d
commit 3b195f63fc

View File

@ -616,6 +616,12 @@ static int loop_device_make_internal(
.timestamp_not_before = timestamp,
};
log_debug("Successfully acquired %s, devno=%u:%u, nr=%i, diskseq=%" PRIu64,
d->node,
major(d->devno), minor(d->devno),
d->nr,
d->diskseq);
*ret = d;
return d->fd;
}