On Thu, Dec 17, 2020 at 03:21:16PM +0200, Nikolay Borisov wrote: > Instead of having 3 'if' to handle non-null return value consolidate > this in 1 'if (ret)'. That way the code is more obvious: > > - Always drop dlete_unused_bgs_mutex if ret is non null > - If ret is negative -> goto done > - If it's 1 -> reset ret to 0, release the path and finish the loop. > > Signed-off-by: Nikolay Borisov <[email protected]>
Added to misc-next, thanks.
