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

Mark Tinguely tinguely at sgi.com
Thu Aug 1 09:10:56 CDT 2013


On 07/31/13 20:32, Eric Sandeen wrote:
> xlog_find_zeroed() currently leaks a bp on one error path.
>
> Using the bp_err: target resolves this.
>
> Found by Coverity.
>
> Signed-off-by: Eric Sandeen<sandeen at redhat.com>
> ---


Looks good.


> p.s. this can be merged to userspace as well.

or get it in before the 3.12 series gets rebased.


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



More information about the xfs mailing list