summaryrefslogtreecommitdiff
path: root/util-linux/volume_id/ocfs2.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-12-30 00:40:11 +0100
committerDenys Vlasenko2010-12-30 00:40:11 +0100
commit90615a0c5c326fa3cf78fc719f7b16207f47395a (patch)
treebdfee5d8916cc60e9e171b15b7adcc1f5460769a /util-linux/volume_id/ocfs2.c
parent2272129a93d9492a42ef43987f829940d26dc862 (diff)
downloadbusybox-90615a0c5c326fa3cf78fc719f7b16207f47395a.zip
busybox-90615a0c5c326fa3cf78fc719f7b16207f47395a.tar.gz
blkid: optional support for TYPE="fstype"
Adapted from patch created by T4ndeta <t4ndeta@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id/ocfs2.c')
-rw-r--r--util-linux/volume_id/ocfs2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/volume_id/ocfs2.c b/util-linux/volume_id/ocfs2.c
index e6c4559..fcdb151 100644
--- a/util-linux/volume_id/ocfs2.c
+++ b/util-linux/volume_id/ocfs2.c
@@ -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;
}