]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30d50445eecdf57ef6f2b5575bf2cdafbe0372bd
tree01eef762cff123abc75fd68054e9c6db0897106f
parent8b52f73305ebb06f1205efab7895622927fd3e6b
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