bcache: free heap cache_set->flush_btree in bch_journal_free
authorShenghui Wang <shhuiw@foxmail.com>
Thu, 26 Jul 2018 04:17:38 +0000 (12:17 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 27 Jul 2018 15:15:46 +0000 (09:15 -0600)
commit6268dc2c4703aabfb0b35681be709acf4c2826c6
tree3fdd46d972c614da3bc5a735275d557074074bef
parenta56489d4b3c914eb30b724ff25debc2e59c7950e
bcache: free heap cache_set->flush_btree in bch_journal_free

Free the cache_set->flush_bree heap memory on journal free.

Signed-off-by: Wang Sheng-Hui <shhuiw@foxmail.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/journal.c