projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
405daff
)
blkid: add type display for btrfs
author
Sven-Göran Bergh
<svengbergh-busybox@yahoo.com>
Sun, 2 Sep 2012 12:56:25 +0000
(14:56 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 2 Sep 2012 12:56:25 +0000
(14:56 +0200)
Signed-off-by: Sven-Göran Bergh <svengbergh-busybox@yahoo.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/volume_id/btrfs.c
patch
|
blob
|
history
diff --git
a/util-linux/volume_id/btrfs.c
b/util-linux/volume_id/btrfs.c
index 777b809236ca12861fca165876935e1e026899ed..ee71d2e0038ff7000ca139804e2576ca916e470b 100644
(file)
--- 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;
}