blkid: add type display for btrfs
Signed-off-by: Sven-Göran Bergh <svengbergh-busybox@yahoo.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
405dafffbb
commit
11f2c0d4f8
@ -102,6 +102,7 @@ int FAST_FUNC volume_id_probe_btrfs(struct volume_id *id /*,uint64_t off*/)
|
||||
// N.B.: btrfs natively supports 256 (>VOLUME_ID_LABEL_SIZE) size labels
|
||||
volume_id_set_label_string(id, sb->label, VOLUME_ID_LABEL_SIZE);
|
||||
volume_id_set_uuid(id, sb->fsid, UUID_DCE);
|
||||
IF_FEATURE_BLKID_TYPE(id->type = "btrfs";)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user