aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delayed-inode.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2025-05-19 10:07:29 +0000
committerDavid Sterba <[email protected]>2025-07-21 21:53:16 +0000
commit33e8f24b52d2796b8cfb28c19a1a7dd6476323a8 (patch)
tree1becadf91aadd317515eb5984b2f8668b4934ece /fs/btrfs/delayed-inode.c
parentbtrfs: unfold transaction abort at btrfs_copy_root() (diff)
downloadkernel-33e8f24b52d2796b8cfb28c19a1a7dd6476323a8.tar.gz
kernel-33e8f24b52d2796b8cfb28c19a1a7dd6476323a8.zip
btrfs: abort transaction on unexpected eb generation at btrfs_copy_root()
If we find an unexpected generation for the extent buffer we are cloning at btrfs_copy_root(), we just WARN_ON() and don't error out and abort the transaction, meaning we allow to persist metadata with an unexpected generation. Instead of warning only, abort the transaction and return -EUCLEAN. CC: [email protected] # 6.1+ Reviewed-by: Daniel Vacek <[email protected]> Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions