Thread (3 messages) read the whole thread 3 messages, 3 authors, 2021-11-30

Re: [PATCH v2] btrfs-progs: check: change commit condition in fixup_extent_refs()

From: David Sterba <hidden>
Date: 2021-11-30 18:19:25

On Thu, Nov 04, 2021 at 02:16:10PM +0000, Sidong Yang wrote:
This patch fixes potential bugs in fixup_extent_refs(). If
btrfs_start_transaction() fails in some way and returns error ptr, It
goes to out logic. But old code checkes whether it is null and it calls
commit. This patch solves the problem with make that it calls only if
ret is no error.

Issue: #409

Signed-off-by: Sidong Yang <redacted>
Added to devel, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help