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)
commit7fcf8a0050df003776d10602c9c52b57212f3345
tree98c9c02b464028f2f44d4a0cbdef38ed66936615
parent7939dd9f35f6f76f5ee199851bcb4d89cd7be061
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