]> 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)
commitf4e66ba720ca505f21a6f9df86f5484ecf44bbf2
tree01eef762cff123abc75fd68054e9c6db0897106f
parent77697c994a5f8e700d104a3882a0ea3ff490cda4
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