Re: [PATCH 4/4] xfs: directory bestfree check should release buffers

Dave Chinner
2020-03-25T05:05:49Z

On Tue, Mar 24, 2020 at 08:24:55PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> When we're checking bestfree information in directory blocks, always
> drop the block buffer at the end of the function. We should always
> release resources when we're done using them.
>
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>

Looks good.

Reviewed-by: Dave Chinner <dchinner@redhat.com>
--
Dave Chinner
david@fromorbit.com