commit | bd3a5287cc20e37f1e365be1f742b6c574e3f83c | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri Oct 04 02:42:03 2019 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Nov 18 12:46:58 2019 +0100 |
tree | 09ebef6c4c77751d82aaffaf65dd74579cd3e569 | |
parent | 6a0d12724bd2dd1c766769578e221ce1d10a4656 [diff] |
btrfs: compression: inline put_workspace Similar to get_workspace, majority of the callbacks is trivial, we don't gain anything by the indirection, so replace them by a switch function. Trivial callback implementations use the helper. Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>