diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-06-11 21:33:38 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-06-11 21:33:38 -0400 |
commit | 5276aedab0baacfb3c5483208b8be85a8416bd5f (patch) | |
tree | d9370bef282b75e0e2b81ab1f74c146fd308cfd6 /fs/btrfs/ctree.h | |
parent | 0cf6c620176a294bdf1bedddc492f6ae857e0019 (diff) |
Btrfs: fix oops after block group lookup
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 5ab25a0cb16a..4e136b7b03ae 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -998,6 +998,9 @@ static inline void btrfs_mark_buffer_dirty(struct buffer_head *bh) | |||
998 | btrfs_item_offset((leaf)->items + (slot)))) | 998 | btrfs_item_offset((leaf)->items + (slot)))) |
999 | 999 | ||
1000 | /* extent-tree.c */ | 1000 | /* extent-tree.c */ |
1001 | struct btrfs_block_group_cache *btrfs_lookup_block_group(struct | ||
1002 | btrfs_fs_info *info, | ||
1003 | u64 blocknr); | ||
1001 | struct btrfs_block_group_cache *btrfs_find_block_group(struct btrfs_root *root, | 1004 | struct btrfs_block_group_cache *btrfs_find_block_group(struct btrfs_root *root, |
1002 | struct btrfs_block_group_cache | 1005 | struct btrfs_block_group_cache |
1003 | *hint, u64 search_start, | 1006 | *hint, u64 search_start, |