On Fri, Apr 21, 2023 at 1:35 PM Andrzej Hajda <[email protected]> wrote:
>
> To have reliable detection of leaks, caller must be able to check under the 
> same
> lock both: tracked counter and the leaks. dir.lock is natural candidate for 
> such
> lock and unlocked print helper can be called with this lock taken.
> As a bonus we can reuse this helper in ref_tracker_dir_exit.
>
> Signed-off-by: Andrzej Hajda <[email protected]>
> Reviewed-by: Andi Shyti <[email protected]>
> ---

SGTM, thanks.

Reviewed-by: Eric Dumazet <[email protected]>

Reply via email to