xfs
[Top] [All Lists]

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

To: Eric Sandeen <sandeen@xxxxxxxxxx>
Subject: Re: [PATCH] xfs: free bp in xlog_find_zeroed() error path
From: Ben Myers <bpm@xxxxxxx>
Date: Tue, 13 Aug 2013 16:34:25 -0500
Cc: xfs-oss <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <51F9BAAE.2000709@xxxxxxxxxx>
References: <51F9BAAE.2000709@xxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
On Wed, Jul 31, 2013 at 08:32:30PM -0500, 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@xxxxxxxxxx>

Applied.

<Prev in Thread] Current Thread [Next in Thread>