blkid: optional support for TYPE="fstype"
Adapted from patch created by T4ndeta <t4ndeta@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -73,7 +73,7 @@ int FAST_FUNC volume_id_probe_linux_swap(struct volume_id *id /*,uint64_t off*/)
|
||||
|
||||
found:
|
||||
// volume_id_set_usage(id, VOLUME_ID_OTHER);
|
||||
// id->type = "swap";
|
||||
IF_FEATURE_BLKID_TYPE(id->type = "swap";)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user