Re: [PATCH] bcachefs: Remove the handling of bch2_trans_iter_exit() in __bch2_bkey_get_iter()
From: Kent Overstreet
Date: Thu Aug 22 2024 - 23:56:30 EST
On Fri, Aug 23, 2024 at 11:19:55AM GMT, Youling Tang wrote:
> From: Youling Tang <tangyouling@xxxxxxxxxx>
>
> - Reduces bkey_err() calls.
> - Avoid redundant calls to bch2_trans_iter_exit() in some functions.
no, a function that returns an error should clean up after itself