]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: compression: pass type to btrfs_put_workspace
authorDavid Sterba <dsterba@suse.com>
Fri, 4 Oct 2019 00:50:28 +0000 (02:50 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 18 Nov 2019 11:46:59 +0000 (12:46 +0100)
commita19d844ae1a3d1469dfdd20374855d37dd0d0c40
tree2d04c48c2f8906dda7ff552d873f81b51b250233
parent7b325325c6a4ab3d10d8fafe45b1cfbbe7516945
btrfs: compression: pass type to btrfs_put_workspace

We can infer the workspace_manager from type and the type will be used
in the following patch to call a common helper for free_workspace.

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