OSDN Git Service

btrfs: compression: remove ops pointer from workspace_manager
authorDavid Sterba <dsterba@suse.com>
Fri, 4 Oct 2019 01:09:55 +0000 (03:09 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 18 Nov 2019 11:46:59 +0000 (12:46 +0100)
commit0cf252131361cdeebb7dfc88dd8ec825fff0956a
tree01eef762cff123abc75fd68054e9c6db0897106f
parent1e002351605db4f2fc4114cbb973d5aead72d006
btrfs: compression: remove ops pointer from workspace_manager

We can infer the ops from the type that is now passed to all functions
that would need it, this makes workspace_manager::ops redundant and can
be removed.

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