]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove useless WARN_ON in record_root_in_trans
authorJosef Bacik <josef@toxicpanda.com>
Fri, 5 Nov 2021 20:45:50 +0000 (16:45 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Jan 2022 14:09:49 +0000 (15:09 +0100)
commit67b6632d60d2ab3de23df0a899495e472bed0abb
tree98c9c02b464028f2f44d4a0cbdef38ed66936615
parentde56ea3fc9bd4285d40655882de829c43b31db58
btrfs: remove useless WARN_ON in record_root_in_trans

We don't set SHAREABLE on the extent root, we don't need to have this
safety check here.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/transaction.c