Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
btrfs: fix compiling with CONFIG_BTRFS_DEBUG enabled.
Browse files Browse the repository at this point in the history
Merging in the free space tree deleted a variable needed when
CONFIG_BTRFS_DEBUG=y

Signed-off-by: Chris Mason <clm@fb.com>
  • Loading branch information
masoncl committed Dec 30, 2015
1 parent 140e639 commit b4570aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,11 +543,13 @@ static noinline void caching_thread(struct btrfs_work *work)
struct btrfs_block_group_cache *block_group;
struct btrfs_fs_info *fs_info;
struct btrfs_caching_control *caching_ctl;
struct btrfs_root *extent_root;
int ret;

caching_ctl = container_of(work, struct btrfs_caching_control, work);
block_group = caching_ctl->block_group;
fs_info = block_group->fs_info;
extent_root = fs_info->extent_root;

mutex_lock(&caching_ctl->mutex);
down_read(&fs_info->commit_root_sem);
Expand Down

0 comments on commit b4570aa

Please sign in to comment.