Re: [PATCH] xfs: fix temporary cursor leak in btree shift corruption paths

From: Markus Elfring

Date: Tue Nov 03 2026 - 06:19:31 EST


…
> held by the duplicated cursor. Jump to error1 instead, which calls
> xfs_btree_del_cursor(tcur, XFS_BTREE_ERROR) to properly release all
> resources.

Can further source code clean-up become helpful for affected function implementations?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?h=v7.4-rc1#n526

Regards,
Markus