diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-06-22 14:16:25 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-06-22 14:16:25 -0400 |
commit | 5eda7b5e9b0bed864dd18284c7df9b3c8207dad7 (patch) | |
tree | 9efe48de46e77f2b7b97a2ce3ee93c9da6451671 /fs/btrfs/disk-io.h | |
parent | 54aa1f4dfdacd60a19c4471220b24e581be6f774 (diff) |
Btrfs: Add the ability to find and remove dead roots after a crash.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.h')
-rw-r--r-- | fs/btrfs/disk-io.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index 7b76ccc48754..c4a695ac44f6 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h | |||
@@ -65,6 +65,8 @@ int btrfs_csum_data(struct btrfs_root * root, char *data, size_t len, | |||
65 | char *result); | 65 | char *result); |
66 | struct btrfs_root *btrfs_read_fs_root(struct btrfs_fs_info *fs_info, | 66 | struct btrfs_root *btrfs_read_fs_root(struct btrfs_fs_info *fs_info, |
67 | struct btrfs_key *location); | 67 | struct btrfs_key *location); |
68 | struct btrfs_root *btrfs_read_fs_root_no_radix(struct btrfs_fs_info *fs_info, | ||
69 | struct btrfs_key *location); | ||
68 | u64 bh_blocknr(struct buffer_head *bh); | 70 | u64 bh_blocknr(struct buffer_head *bh); |
69 | int btrfs_insert_dev_radix(struct btrfs_root *root, | 71 | int btrfs_insert_dev_radix(struct btrfs_root *root, |
70 | struct block_device *bdev, | 72 | struct block_device *bdev, |
@@ -75,4 +77,5 @@ int btrfs_map_bh_to_logical(struct btrfs_root *root, struct buffer_head *bh, | |||
75 | u64 logical); | 77 | u64 logical); |
76 | int btrfs_releasepage(struct page *page, gfp_t flags); | 78 | int btrfs_releasepage(struct page *page, gfp_t flags); |
77 | void btrfs_btree_balance_dirty(struct btrfs_root *root); | 79 | void btrfs_btree_balance_dirty(struct btrfs_root *root); |
80 | int btrfs_free_fs_root(struct btrfs_fs_info *fs_info, struct btrfs_root *root); | ||
78 | #endif | 81 | #endif |