summaryrefslogtreecommitdiff
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-06-11 21:33:38 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-11 21:33:38 -0400
commit5276aedab0baacfb3c5483208b8be85a8416bd5f (patch)
treed9370bef282b75e0e2b81ab1f74c146fd308cfd6 /fs/btrfs/ctree.h
parent0cf6c620176a294bdf1bedddc492f6ae857e0019 (diff)
downloadlwn-5276aedab0baacfb3c5483208b8be85a8416bd5f.tar.gz
lwn-5276aedab0baacfb3c5483208b8be85a8416bd5f.zip
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.h3
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)
btrfs_item_offset((leaf)->items + (slot))))
/* extent-tree.c */
+struct btrfs_block_group_cache *btrfs_lookup_block_group(struct
+ btrfs_fs_info *info,
+ u64 blocknr);
struct btrfs_block_group_cache *btrfs_find_block_group(struct btrfs_root *root,
struct btrfs_block_group_cache
*hint, u64 search_start,