summaryrefslogtreecommitdiff
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-06-12 11:40:59 +0100
committerDavid Sterba <dsterba@suse.com>2023-06-19 13:59:39 +0200
commit6f3eb72a1f26ee84ed9de99ffa9edb1a3748c33b (patch)
tree0b444bbec2eb2c63abb220f5f25f71fb446801dc /fs/btrfs/transaction.c
parentfc4026e26b3383b896af5c0923ada8ae7064ca07 (diff)
downloadlwn-6f3eb72a1f26ee84ed9de99ffa9edb1a3748c33b.tar.gz
lwn-6f3eb72a1f26ee84ed9de99ffa9edb1a3748c33b.zip
btrfs: send: do not BUG_ON() on unexpected symlink data extent
There's really no need to BUG_ON() if we find a symlink with an extent that is not inline or is compressed. We can just make send fail with an error (-EUCLEAN) and log an informative error message, so just do that instead of BUG_ON(). Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
0 files changed, 0 insertions, 0 deletions