]> Git Repo - linux.git/blame - fs/btrfs/tree-checker.h
Btrfs: fix list_add corruption and soft lockups in fsync
[linux.git] / fs / btrfs / tree-checker.h
CommitLineData
557ea5dd
QW
1/*
2 * Copyright (C) Qu Wenruo 2017. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License v2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public
14 * License along with this program.
15 */
16
17#ifndef __BTRFS_TREE_CHECKER__
18#define __BTRFS_TREE_CHECKER__
19
20#include "ctree.h"
21#include "extent_io.h"
22
23int btrfs_check_leaf(struct btrfs_root *root, struct extent_buffer *leaf);
24int btrfs_check_node(struct btrfs_root *root, struct extent_buffer *node);
25
26#endif
This page took 0.044402 seconds and 4 git commands to generate.