[PATCH] xfs:free bp in xlog_find_tail() error path

Mark Tinguely tinguely at sgi.com
Thu Aug 1 09:11:39 CDT 2013


On 07/31/13 20:33, Eric Sandeen wrote:
> xlog_find_tail() currently leaks a bp on one error path.
>
> There is no error target, so manually free the bp before
> returning the error.
>
> Found by Coverity.
>
> Signed-off-by: Eric Sandeen<sandeen at redhat.com>
> ---
>
> p.s. this can be merged to userspace as well.

Looks good.

Reviewed-by: Mark Tinguely <tinguely at sgi.com>



More information about the xfs mailing list