aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-06-22 14:16:25 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-22 14:16:25 -0400
commit5eda7b5e9b0bed864dd18284c7df9b3c8207dad7 (patch)
tree9efe48de46e77f2b7b97a2ce3ee93c9da6451671 /fs/btrfs/disk-io.h
parent54aa1f4dfdacd60a19c4471220b24e581be6f774 (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.h3
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);
66struct btrfs_root *btrfs_read_fs_root(struct btrfs_fs_info *fs_info, 66struct btrfs_root *btrfs_read_fs_root(struct btrfs_fs_info *fs_info,
67 struct btrfs_key *location); 67 struct btrfs_key *location);
68struct btrfs_root *btrfs_read_fs_root_no_radix(struct btrfs_fs_info *fs_info,
69 struct btrfs_key *location);
68u64 bh_blocknr(struct buffer_head *bh); 70u64 bh_blocknr(struct buffer_head *bh);
69int btrfs_insert_dev_radix(struct btrfs_root *root, 71int 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);
76int btrfs_releasepage(struct page *page, gfp_t flags); 78int btrfs_releasepage(struct page *page, gfp_t flags);
77void btrfs_btree_balance_dirty(struct btrfs_root *root); 79void btrfs_btree_balance_dirty(struct btrfs_root *root);
80int btrfs_free_fs_root(struct btrfs_fs_info *fs_info, struct btrfs_root *root);
78#endif 81#endif