Thread (3 messages) 3 messages, 3 authors, 2021-12-07

Re: [PATCH] btrfs: replace the BUG_ON() in btrfs_del_root_ref() with proper error handling

From: Josef Bacik <josef@toxicpanda.com>
Date: 2021-12-01 16:49:12

On Wed, Dec 01, 2021 at 07:56:17PM +0800, Qu Wenruo wrote:
I hit the BUG_ON() with generic/475 test case, and to my surprise, all
callers of btrfs_del_root_ref() are already aborting transaction, thus
there is not need for such BUG_ON(), just go to @out label and caller
will properly handle the error.

Signed-off-by: Qu Wenruo <redacted>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>

Thanks,

Josef
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help