bcache: Revert "bcache: free heap cache_set->flush_btree in bch_journal_free"
authorColy Li <colyli@suse.de>
Fri, 28 Jun 2019 11:59:53 +0000 (19:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2019 07:12:55 +0000 (09:12 +0200)
commit85b1a0ba74eba98ef509aa7a9e45d023558227f9
tree1d0998a3b1ea029ab05c3dd273d4b270b48fed51
parentb6dc61e01a47ae6e534065a973a39e8a7040e8b9
bcache: Revert "bcache: free heap cache_set->flush_btree in bch_journal_free"

commit ba82c1ac1667d6efb91a268edb13fc9cdaecec9b upstream.

This reverts commit 6268dc2c4703aabfb0b35681be709acf4c2826c6.

This patch depends on commit c4dc2497d50d ("bcache: fix high CPU
occupancy during journal") which is reverted in previous patch. So
revert this one too.

Fixes: 6268dc2c4703 ("bcache: free heap cache_set->flush_btree in bch_journal_free")
Signed-off-by: Coly Li <colyli@suse.de>
Cc: stable@vger.kernel.org
Cc: Shenghui Wang <shhuiw@foxmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/bcache/journal.c