aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven-Göran Bergh <svengbergh-busybox@yahoo.com>2012-09-02 14:56:25 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2012-09-02 14:56:25 +0200
commit11f2c0d4f87ab7b1bb08632bfb67b1eb2df5f0e4 (patch)
tree875cc9edb27539871fb65776c96b4570d165910e
parent405dafffbbbbaf2d036aca79856866f0031edd9f (diff)
downloadbusybox-11f2c0d4f87ab7b1bb08632bfb67b1eb2df5f0e4.tar.gz
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>
-rw-r--r--util-linux/volume_id/btrfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/volume_id/btrfs.c b/util-linux/volume_id/btrfs.c
index 777b80923..ee71d2e00 100644
--- a/util-linux/volume_id/btrfs.c
+++ b/util-linux/volume_id/btrfs.c
@@ -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;
}