drop guestfs___trace from btrfs subvol change

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=322
This commit is contained in:
Olaf Hering 2014-10-16 13:42:16 +00:00 committed by Git OBS Bridge
parent 33d5907880
commit 3200147e0a

View File

@ -32,12 +32,11 @@ diff --git a/src/listfs.c b/src/listfs.c
index ffb0adc..db127ea 100644
--- a/src/listfs.c
+++ b/src/listfs.c
@@ -176,9 +183,12 @@ check_with_vfs_type (guestfs_h *g, const char *device, struct stringsbuf *sb)
@@ -176,9 +183,11 @@ check_with_vfs_type (guestfs_h *g, const char *device, struct stringsbuf *sb)
for (size_t i = 0; i < vols->len; i++) {
struct guestfs_btrfssubvolume *this = &vols->val[i];
+ char *btrfssubvolume_path = this->btrfssubvolume_path;
+ guestfs___trace(g, "XXX %s(%u) device %s btrfssubvolume_path %s", __func__, __LINE__, device, btrfssubvolume_path);
+ if (STREQ(btrfssubvolume_path, "<FS_TREE>/@")) btrfssubvolume_path = "/@";
guestfs___add_sprintf (g, sb,
"btrfsvol:%s/%s",