Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3300254imu; Wed, 7 Nov 2018 08:12:50 -0800 (PST) X-Google-Smtp-Source: AJdET5d/ttDh7JzXvmaJGUTiqjOvxbnJhXs/7blYNlJyXZQpQCi74bt2h9emwsQvJjgtP1oOuWU3 X-Received: by 2002:a62:6d83:: with SMTP id i125-v6mr831369pfc.184.1541607170779; Wed, 07 Nov 2018 08:12:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541607170; cv=none; d=google.com; s=arc-20160816; b=bcjy4JObNkZrfWAC8g/8ZRFDF6icjhj+JIbZ6BOMSqbrVym/2FT1mA+k6IwZ2oDhUD Y6/21qD5M+lqgjqWvEC10fZUGHSXyK1WLNlBsbQOdSH/5hD0kVWrjs2exVcUXrmxwJuI ESMFX2MfDoV19e843i7VBvvqHzJ0q5rDEk0cHrDFFPXU79WPCxOM1We5sfhAloy7GPvc g1yJ3NtBswzSlt6s6aFa6VthPorHydsuV36jKbwbRc/qoJ5JxR2XB4GMfgzBCgqxMn8L a6PyFH3m4QpZgTfv1QaU0RVBOMh+49YJzjpBHjqezX2rcHX4yFOLLjU0bF5kqCJLR98e Tdiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=p4X6lJ1QgKG5EvkX8u41cgHfZ29ZjnouJUxxoGxovdE=; b=tvwGTPi5bhwAg0kuS9rAvuN1xJ3tkF7kFF8MAtoS2Yo4YTL4hZYPMtxCRjfpxnHJOE ivswtt/uKM8jfDlZqKzTrBvmCs/UaKeuQbVJw4gXGH5ztWF2RbcVa6aj2zLIK8cuoRZ+ gBdBSajfqoxPqSralVKs6MsLZEDoJkTj1OXiWB0GNlvXAbY4lcCJn/J4EQKhf/OeadDH lY7wQgKDCFRbrtvRetghdBRoktvsbSZ/3nEbf7HrsY5PcUeexeT5aRfkZO7NH3qZBMQx 7ukzO5RCpcuaYlgcatA8NuNFwvfQqZWvd36KJ0EZspzwjiME6jhaV47457dExGZ25/Zc cUyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=sGwN18Z6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d20-v6si723731pls.170.2018.11.07.08.12.34; Wed, 07 Nov 2018 08:12:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=sGwN18Z6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731309AbeKHBmi (ORCPT + 99 others); Wed, 7 Nov 2018 20:42:38 -0500 Received: from imap.thunk.org ([74.207.234.97]:49418 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727372AbeKHBmi (ORCPT ); Wed, 7 Nov 2018 20:42:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=p4X6lJ1QgKG5EvkX8u41cgHfZ29ZjnouJUxxoGxovdE=; b=sGwN18Z6qbBHj2p+TjJDjBKIow qNt+FVS0l68VBe097Q1lg3SMPVkcFTSFSwUgOJ1rFrYouW0HPa9gjkDcsluMI3rgCDuOzPnGbvi2B OvRbQtoPjQi+WFSUoWIO93Tz/LtmRM20P0ZA8Qxh28O6q01d+ipYQMWLnKUMnVYk+4ps=; Received: from root (helo=callcc.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.89) (envelope-from ) id 1gKQQW-0000Yo-Jc; Wed, 07 Nov 2018 16:11:32 +0000 Received: by callcc.thunk.org (Postfix, from userid 15806) id CAE087A7D14; Wed, 7 Nov 2018 11:11:31 -0500 (EST) Date: Wed, 7 Nov 2018 11:11:31 -0500 From: "Theodore Y. Ts'o" To: Jan Kara Cc: Vasily Averin , linux-ext4@vger.kernel.org, Andreas Dilger , linux-kernel@vger.kernel.org, Kalpak Shah Subject: Re: [PATCH 6/7] ext4: lost brelse in ext4_xattr_move_to_block() Message-ID: <20181107161131.GG9919@thunk.org> Mail-Followup-To: "Theodore Y. Ts'o" , Jan Kara , Vasily Averin , linux-ext4@vger.kernel.org, Andreas Dilger , linux-kernel@vger.kernel.org, Kalpak Shah References: <76da5ae3-274d-efa4-58bb-6cd280763a37@virtuozzo.com> <20181107135016.GE25758@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181107135016.GE25758@quack2.suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 07, 2018 at 02:50:16PM +0100, Jan Kara wrote: > On Wed 31-10-18 22:13:00, Vasily Averin wrote: > > Fixes 3f2571c1f91f ("ext4: factor out xattr moving") > > cc: Jan Kara > > however issue was present in original ext4_expand_extra_isize_ea() > > Fixes 6dd4ee7cab7e ("ext4: Expand extra_inodes space per ...") # 2.6.23 > > cc: Kalpak Shah > > > > Signed-off-by: Vasily Averin > > Good catch. Thanks for the fix. The patch looks good. You can add: > > Reviewed-by: Jan Kara Thanks, applied. I used the commit description: ext4: fix buffer leak in ext4_xattr_move_to_block() on error path - Ted