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:
@@ -54,7 +54,7 @@ int FAST_FUNC volume_id_probe_jfs(struct volume_id *id /*,uint64_t off*/)
|
||||
volume_id_set_uuid(id, js->uuid, UUID_DCE);
|
||||
|
||||
// volume_id_set_usage(id, VOLUME_ID_FILESYSTEM);
|
||||
// id->type = "jfs";
|
||||
IF_FEATURE_BLKID_TYPE(id->type = "jfs";)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user