btrfs: don't needlessly create extent-refs kernel thread
authorDavid Sterba <dsterba@suse.com>
Sat, 12 Oct 2019 16:42:10 +0000 (18:42 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 15 Oct 2019 13:43:29 +0000 (15:43 +0200)
commit80ed4548d0711d15ca51be5dee0ff813051cfc90
tree8372a596b1a022ed3508b3d47469bd776f4e44c2
parent4b654acdae850f48b8250b9a578a4eaa518c7a6f
btrfs: don't needlessly create extent-refs kernel thread

The patch 32b593bfcb58 ("Btrfs: remove no longer used function to run
delayed refs asynchronously") removed the async delayed refs but the
thread has been created, without any use. Remove it to avoid resource
consumption.

Fixes: 32b593bfcb58 ("Btrfs: remove no longer used function to run delayed refs asynchronously")
CC: stable@vger.kernel.org # 5.2+
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c