]> 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)
commit1450f28015f7b54e33929e87bbfaf89bd7423bab
tree7f236453654db2b790e84bbf978260416a1f01bc
parent05f3bc2d9032cdceb09c5cc12f940d44d8a3653c
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