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:
@@ -101,6 +101,6 @@ int FAST_FUNC volume_id_probe_ocfs2(struct volume_id *id /*,uint64_t off*/)
|
||||
volume_id_set_label_string(id, os->s_label, OCFS2_MAX_VOL_LABEL_LEN < VOLUME_ID_LABEL_SIZE ?
|
||||
OCFS2_MAX_VOL_LABEL_LEN : VOLUME_ID_LABEL_SIZE);
|
||||
volume_id_set_uuid(id, os->s_uuid, UUID_DCE);
|
||||
// id->type = "ocfs2";
|
||||
IF_FEATURE_BLKID_TYPE(id->type = "ocfs2";)
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user