diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-03-15 14:36:28 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-31 01:41:10 +0200 |
commit | 101d2dc0b2a976a9979a247eb2cf4d1e4e9ec341 (patch) | |
tree | ea322e4a619809b3a11dbf3843fe68008ad984ba /fs/btrfs | |
parent | 338dae1ae64f413bc058d0f2e964480add5ddacc (diff) | |
download | linux-stable-101d2dc0b2a976a9979a247eb2cf4d1e4e9ec341.tar.gz linux-stable-101d2dc0b2a976a9979a247eb2cf4d1e4e9ec341.tar.bz2 linux-stable-101d2dc0b2a976a9979a247eb2cf4d1e4e9ec341.zip |
btrfs: Remove unused extent_root var from caching_thread
Added by b4570aa994b8 ("btrfs: fix compiling with CONFIG_BTRFS_DEBUG
enabled.") and obsoleted by 2ff7e61e0d30 ("btrfs: take an fs_info
directly when the root is not used otherwise").
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 0e46142d70f6..9f4e6330d7c5 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -535,13 +535,11 @@ 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); |