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) |
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 | |||
1459 | *item); | 1459 | *item); |
1460 | int btrfs_find_last_root(struct btrfs_root *root, u64 objectid, struct | 1460 | int btrfs_find_last_root(struct btrfs_root *root, u64 objectid, struct |
1461 | btrfs_root_item *item, struct btrfs_key *key); | 1461 | btrfs_root_item *item, struct btrfs_key *key); |
1462 | int btrfs_search_root(struct btrfs_root *root, u64 search_start, | ||
1463 | u64 *found_objectid); | ||
1462 | int btrfs_find_dead_roots(struct btrfs_root *root, u64 objectid, | 1464 | int btrfs_find_dead_roots(struct btrfs_root *root, u64 objectid, |
1463 | struct btrfs_root *latest_root); | 1465 | struct btrfs_root *latest_root); |
1464 | /* dir-item.c */ | 1466 | /* dir-item.c */ |