From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (Postfix) with ESMTP id 4EFB07F9C for ; Tue, 13 Aug 2013 16:34:38 -0500 (CDT) Date: Tue, 13 Aug 2013 16:34:34 -0500 From: Ben Myers Subject: Re: [PATCH] xfs:free bp in xlog_find_tail() error path Message-ID: <20130813213434.GG12719@sgi.com> References: <51F9BAFB.9000808@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <51F9BAFB.9000808@redhat.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Eric Sandeen Cc: "'linux-xfs@oss.sgi.com'" On Wed, Jul 31, 2013 at 08:33:47PM -0500, 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 Applied. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs