volume_id: add support for btrfs
function old new delta volume_id_probe_btrfs - 96 +96 fs2 48 52 +4 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/0 up/down: 100/0) Total: 100 bytes Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
e62a2463ec
commit
662e8b79d0
@ -44,7 +44,7 @@ get_label_uuid(int fd, char **label, char **uuid)
|
||||
if (vid->label[0] != '\0' || vid->uuid[0] != '\0') {
|
||||
*label = xstrndup(vid->label, sizeof(vid->label));
|
||||
*uuid = xstrndup(vid->uuid, sizeof(vid->uuid));
|
||||
dbg("found label '%s', uuid '%s' on %s", *label, *uuid, device);
|
||||
dbg("found label '%s', uuid '%s'", *label, *uuid);
|
||||
rv = 0;
|
||||
}
|
||||
ret:
|
||||
|
Reference in New Issue
Block a user