From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cantor2.suse.de ([195.135.220.15]:52982 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752537AbbEYMdV (ORCPT ); Mon, 25 May 2015 08:33:21 -0400 Date: Mon, 25 May 2015 14:33:19 +0200 From: David Sterba To: dsterba@suse.cz, Liu Bo , linux-btrfs@vger.kernel.org Subject: Re: [PATCH] Btrfs: add missing free_extent_buffer Message-ID: <20150525123319.GF23255@twin.jikos.cz> Reply-To: dsterba@suse.cz References: <1432545400-31871-1-git-send-email-bo.li.liu@oracle.com> <20150525123156.GE23255@twin.jikos.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20150525123156.GE23255@twin.jikos.cz> Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Mon, May 25, 2015 at 02:31:56PM +0200, David Sterba wrote: > On Mon, May 25, 2015 at 05:16:40PM +0800, Liu Bo wrote: > > read_tree_block may take a reference on the 'eb', a following > > free_extent_buffer is necessary. > > > > Signed-off-by: Liu Bo > > Reviewed-by: David Sterba > > And I've spotted one more in btrfs_read_tree_root and 2 other > where it was not outright obvious from the code logic. Ok, it's addressed in the following patches.