On Sun, Jul 1, 2012 at 5:41 PM, Mike Fleetwood <[email protected]> wrote: > On 1 July 2012 05:53, Zhi Yong Wu <[email protected]> wrote: >> HI, >> >> Do anyone know where btrfs_print_tree is invoked? thanks. >> >> -- >> Regards, >> >> Zhi Yong Wu > > Is this the answer you are after? > > $ grep -r btrfs_print_tree fs/btrfs/ > fs/btrfs/print-tree.c:void btrfs_print_tree(struct btrfs_root *root, > struct extent_buffer *c) > fs/btrfs/print-tree.c: btrfs_print_tree(root, next); > fs/btrfs/print-tree.h:void btrfs_print_tree(struct btrfs_root *root, > struct extent_buffer *t); No, i also did as this, but didn't find out who will invoke this function. From above output, we only saw that it invokes itself one time.
> > Mike -- Regards, Zhi Yong Wu -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
