Received: by 2002:aa6:c46f:0:b029:96:faae:e639 with SMTP id i15csp337155lkq; Thu, 5 Nov 2020 03:54:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxdNAOR32SQNzoe6+50qWcYv/wM/42z7YWCCtanIB1rvi1q3+NouFqz/QadEyRKrT3X5IZ X-Received: by 2002:aa7:c90d:: with SMTP id b13mr2235945edt.136.1604577286718; Thu, 05 Nov 2020 03:54:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604577286; cv=none; d=google.com; s=arc-20160816; b=rhNvDJCJYW9KV7NtFvKTiC4KF4oWW/VIBVvnWorKaT9yOq6TSYK+OQsdAybcQKd6hv Gj84VTwhK883mzfSn5CVR7sZA5C0fLm71uLoWFgm5IvbfhQJsrFM4Ogbk628rgek7uGf Fwt6Q5HqWkjLXvVKepcI9/bNnoa5UovcpVmzitHOkLL6ebMf9FIaDwmrYwveJadI73wM E2GD/PJEQg+tlFzm2K4OcvH0J5yCQcWY3sK9Hno6Umw+eIngoRnur7tvb9r8PjCYtGxd 8w/tFNHT+arei5dTL/w0/KRW3A5PFZOZiL1h0VTYppvNVG01EK6fffoxakLKaMrekHhp I0wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:reply-to:message-id :subject:cc:to:from:date; bh=HIJJF6+kOYUlUTa9CXaK04A+EyaWRsGUXo2SV0cM00k=; b=JFO34smQxU9XPsCcca04XVOKsulYkq2ja9I5UkOVrQFRI7LCb4zsUTOIoKobXCKNJe g0v/7mktUbmaVc//u5I0zDC5WuEvU0J8jM1iL9IFzGIwUUbEJugF6dcowJt1v97dyaj/ E2sp7OrgMvguM+yTlqa1Zl7z0KHpEf/LkUc1sGTPrbV6bGfzVwpGSmf0Yp5xXL+kNTcD M+0PFTZEoR7b+trJ9m1I3N4EN/lp5AUD8D6UJ8nxG1uSBJ2Ti/KqUNg1UCv6GNpqhwfj r78IyPY19vR6zbobAPTsRX3NNGj4fOcjXhFzEpJRGYwu5xlJXowoZc1tWCtZqYaL2qp3 e/GQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u21si544974ejb.17.2020.11.05.03.54.24; Thu, 05 Nov 2020 03:54:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729832AbgKELxH (ORCPT + 99 others); Thu, 5 Nov 2020 06:53:07 -0500 Received: from mx2.suse.de ([195.135.220.15]:52830 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726067AbgKELxG (ORCPT ); Thu, 5 Nov 2020 06:53:06 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 5DC87AB95; Thu, 5 Nov 2020 11:53:04 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id CBF71DA6E3; Thu, 5 Nov 2020 12:51:24 +0100 (CET) Date: Thu, 5 Nov 2020 12:51:24 +0100 From: David Sterba To: Dinghao Liu Cc: kjlu@umn.edu, Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] btrfs: ref-verify: Fix memleak in btrfs_ref_tree_mod Message-ID: <20201105115124.GH6756@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Dinghao Liu , kjlu@umn.edu, Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org References: <20201021053655.28624-1-dinghao.liu@zju.edu.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201021053655.28624-1-dinghao.liu@zju.edu.cn> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 21, 2020 at 01:36:55PM +0800, Dinghao Liu wrote: > There is one error handling path does not free ref, > which may cause a memory leak. > > Signed-off-by: Dinghao Liu Added to misc-next, thanks.