]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: manage heuristic workspace as index 0
authorDennis Zhou <dennis@kernel.org>
Mon, 4 Feb 2019 20:19:59 +0000 (15:19 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Feb 2019 13:13:31 +0000 (14:13 +0100)
commitd118b63e0367b5c1c2a3027a7b951c5e429faf80
tree7f236453654db2b790e84bbf978260416a1f01bc
parentfa5be1670eb761093194035fbbd5dcea823355e3
btrfs: manage heuristic workspace as index 0

While the heuristic workspaces aren't really compression workspaces,
they use the same interface for managing them. So rather than branching,
let's just handle them once again as the index 0 compression type.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Dennis Zhou <dennis@kernel.org>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c
fs/btrfs/compression.h