diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-05-08 13:26:18 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:02 -0400 |
commit | bf4ef67924d87b0addb32f084e83a9283496350e (patch) | |
tree | 2935d0395028d878e57df73e5fbd2182abc16c41 /fs/btrfs/ctree.h | |
parent | a061fc8da7b990faa41ca503e66faef3ecdeead0 (diff) | |
download | lwn-bf4ef67924d87b0addb32f084e83a9283496350e.tar.gz lwn-bf4ef67924d87b0addb32f084e83a9283496350e.zip |
Btrfs: Properly find the root for snapshotted blocks during chunk relocation
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 33ab165591c5..f4b4677bec77 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -1459,6 +1459,8 @@ int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root *item); int btrfs_find_last_root(struct btrfs_root *root, u64 objectid, struct btrfs_root_item *item, struct btrfs_key *key); +int btrfs_search_root(struct btrfs_root *root, u64 search_start, + u64 *found_objectid); int btrfs_find_dead_roots(struct btrfs_root *root, u64 objectid, struct btrfs_root *latest_root); /* dir-item.c */ |