summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/print-tree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-06 20:08:01 -0500
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-06 20:08:01 -0500
commita28ec19775d62d673b034082128aca95780d3737 (patch)
tree105694ca29ed0ad6563c45a86df9a7df1abf94ff /fs/btrfs/print-tree.c
parent02217ed299c6340a35696e0610047eb96826de2d (diff)
downloadop-kernel-dev-a28ec19775d62d673b034082128aca95780d3737.zip
op-kernel-dev-a28ec19775d62d673b034082128aca95780d3737.tar.gz
Btrfs: Fixup reference counting on cows
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/print-tree.c')
-rw-r--r--fs/btrfs/print-tree.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/btrfs/print-tree.c b/fs/btrfs/print-tree.c
index dda08f3..e32a959 100644
--- a/fs/btrfs/print-tree.c
+++ b/fs/btrfs/print-tree.c
@@ -21,9 +21,11 @@ void print_leaf(struct leaf *l)
item->key.objectid, item->key.flags, item->key.offset,
item->offset, item->size);
fflush(stdout);
- printf("\t\titem data %.*s\n", item->size, l->data+item->offset);
+ printf("\t\titem data %.*s\n", item->size,
+ l->data+item->offset);
ei = (struct extent_item *)(l->data + item->offset);
- printf("\t\textent data %u %Lu\n", ei->refs, ei->owner);
+ printf("\t\textent data refs %u owner %Lu\n", ei->refs,
+ ei->owner);
fflush(stdout);
}
}
OpenPOWER on IntegriCloud