]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: compression: inline cleanup_workspace_manager
authorDavid Sterba <dsterba@suse.com>
Tue, 1 Oct 2019 23:08:03 +0000 (01:08 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 18 Nov 2019 11:46:57 +0000 (12:46 +0100)
commit50233ab47c82ae4a71297cf1d7597399171c4fb4
treefdcfdcf75fd6a9cbae2700c9ba38ae1c1597abee
parent2c2d065fdd354db0a5565e07be37c197b47f1926
btrfs: compression: inline cleanup_workspace_manager

Replace loop calling to all algos with a list of direct calls to the
cleanup manager callback. When that becomes trivial it is replaced by
direct call to the helper.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c
fs/btrfs/compression.h
fs/btrfs/lzo.c
fs/btrfs/zlib.c
fs/btrfs/zstd.c