diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-09-03 17:39:24 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-09-23 08:49:21 +0200 |
| commit | 0b7453b7a1c1f8aa1570da2d0cc81bf7691eb5f1 (patch) | |
| tree | 8c702ef5496215a1b4571b4e1b3712fb7edc8c98 /scripts/test_doc_build.py | |
| parent | e41c5e611a65799747709b8fed461dd07647c40d (diff) | |
btrfs: abort transaction if we fail to find dir item during log replay
At __add_inode_ref() if we get an error when trying to lookup a dir item
we don't abort the transaction and propagate the error up the call chain,
so that somewhere else up in the call chain the transaction is aborted.
This however makes it hard to know that the failure comes from looking up
a dir item, so add a transaction abort in case we fail there, so that we
immediately pinpoint where the problem comes from during log replay.
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 'scripts/test_doc_build.py')
0 files changed, 0 insertions, 0 deletions
