mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
This patch enhances the following things: - tree block header * add generation and owner output for node and leaf - node pointer generation output - allow btrfs_print_tree() to not follow nodes * just like btrfs-progs Please note that, although function btrfs_print_tree() is not called by anyone right now, it's still a pretty useful function to debug kernel. So that function is still kept for later use. Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: Lu Fengqi <[email protected]> Signed-off-by: David Sterba <[email protected]>
13 lines
271 B
C
13 lines
271 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2007 Oracle. All rights reserved.
|
|
*/
|
|
|
|
#ifndef BTRFS_PRINT_TREE_H
|
|
#define BTRFS_PRINT_TREE_H
|
|
|
|
void btrfs_print_leaf(struct extent_buffer *l);
|
|
void btrfs_print_tree(struct extent_buffer *c, bool follow);
|
|
|
|
#endif
|