mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
22b46bdc5f
Do a cleanup in the short headers: - add forward declarations for types referenced by pointers - add includes when types need them This fixes potential compilation problems if the headers are reordered or the missing includes are not provided indirectly. Signed-off-by: David Sterba <dsterba@suse.com>
20 lines
509 B
C
20 lines
509 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
|
|
|
|
/* Buffer size to contain tree name and possibly additional data (offset) */
|
|
#define BTRFS_ROOT_NAME_BUF_LEN 48
|
|
|
|
struct extent_buffer;
|
|
struct btrfs_key;
|
|
|
|
void btrfs_print_leaf(const struct extent_buffer *l);
|
|
void btrfs_print_tree(const struct extent_buffer *c, bool follow);
|
|
const char *btrfs_root_name(const struct btrfs_key *key, char *buf);
|
|
|
|
#endif
|