Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp948024imd; Sat, 3 Nov 2018 13:55:44 -0700 (PDT) X-Google-Smtp-Source: AJdET5cS1xEtH+u48jcmO08F0Ocfx3wP9bYiw3fq2MBaQmi77dm91VF/S+o2DHWT1apmi+m/3voF X-Received: by 2002:a62:4301:: with SMTP id q1-v6mr16132121pfa.163.1541278544798; Sat, 03 Nov 2018 13:55:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541278544; cv=none; d=google.com; s=arc-20160816; b=HTHakiwpjYdfI0GyQG93LmOY4Nk45PK8vtUmyYud77Q6VdQK6o0yyrVMVEtDJXwRl8 MOjikCVb4gKzjJ2WyFqZxH9rf2Ky+3vDmECWlwX+1zoxXI4Rh7U5oM9TLQENiLgZTBgP JDPbYSnife+7TzQHeX3sCNSo6Y45f3UGG8BecCjT+xXwNXKkQieVkxTEWRh/Ci0uJnpR ItHWKMUdM7nyrgfABls6IctuHSDtNuSkv8S1lzxOkhkE6NjK96AFauMjhvLmfAC7qaEM feRewj0URjSNcDzZ3RZUEsqEUPx5Gdbo690C3t6hQe5sGhoyD8CSLHal6vdIFpRiLUHD bQsg== 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=uAMOdWmyqooDNBhAPGNA8vpkyzlv72iv1NAH1qSCGnQ=; b=aqyTnszhabjf+6g5MYuADfxzubrWZhXyw1XevhvvHKfYMAcYlrPgoABDSZGrYb6N/l 169EaTrACL81kwm547Kp+bmt4w1d3fbfdyznMyoSvzNk8w3pGKwxmVEzeS2ISsLGhA9f dP68q95CPtO7Ms622vhIfB1oFSNEsV7KQ2zaWbZ1v/+KH0DGwKxM/tvfeU+igGS6VhAA /Fj1uEb9yxRh3AXO/NeeM3k4IEfFVoQQuoerxR3x/CwidHcdNRTRKeGs2Sd72qqLZg5H s7HOs5rmt3Fc/EWBRTzCFeJ3UgDcSmKAQWJoPt2x76xqUaC4ZWejhYzvOXuXbytNn5LQ vSvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@thunk.org header.s=ef5046eb header.b=t978Mllx; 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 206si13341666pga.240.2018.11.03.13.55.27; Sat, 03 Nov 2018 13:55:44 -0700 (PDT) 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=t978Mllx; 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 S1727163AbeKDGHc (ORCPT + 99 others); Sun, 4 Nov 2018 01:07:32 -0500 Received: from imap.thunk.org ([74.207.234.97]:33654 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726904AbeKDGHb (ORCPT ); Sun, 4 Nov 2018 01:07:31 -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=uAMOdWmyqooDNBhAPGNA8vpkyzlv72iv1NAH1qSCGnQ=; b=t978MllxyYWA7lUNJnyOK4vgzK ets7WlO2zwuujp61hx6LsguC0Qp9Bz3bcTelhjwz8+u8hqik1ME+PrCFyIHc4cYV2UrokyMC5LddD L5yyBpisdbhjEwcWf6q5mABEZChNz9mqY/BvHbw82Ap2JfzDs3sSYoOWK2te6jzJhA84=; Received: from root (helo=callcc.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.89) (envelope-from ) id 1gJ2wg-0008AN-D7; Sat, 03 Nov 2018 20:55:02 +0000 Received: by callcc.thunk.org (Postfix, from userid 15806) id E3CB37A7A7E; Sat, 3 Nov 2018 16:55:00 -0400 (EDT) Date: Sat, 3 Nov 2018 16:55:00 -0400 From: "Theodore Y. Ts'o" To: Vasily Averin Cc: linux-ext4@vger.kernel.org, Andreas Dilger , linux-kernel@vger.kernel.org, Yongqiang Yang , Yongqiang Yang Subject: Re: [PATCH v2 03/11] ext4 resize: brelse() cleanup in add_new_gdb_meta_bg() Message-ID: <20181103205500.GG28850@thunk.org> Mail-Followup-To: "Theodore Y. Ts'o" , Vasily Averin , linux-ext4@vger.kernel.org, Andreas Dilger , linux-kernel@vger.kernel.org, Yongqiang Yang , Yongqiang Yang References: <34d94824-834c-fb72-2f93-01e9036e9b38@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <34d94824-834c-fb72-2f93-01e9036e9b38@virtuozzo.com> 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, Oct 31, 2018 at 12:57:55AM +0300, Vasily Averin wrote: > gdb_bh must be released in case of errors before update of s_group_desc > but it must not be released after update of group descriptors > because in this case bh can be used later. > > Fixes 01f795f9e0d6 ("ext4: add online resizing support for meta_bg ...") # 3.7 > > Signed-off-by: Vasily Averin Thanks, applied. The commit description is not accurate (I suspect it was obsoleted when your patch for RHEL was forward ported) do I dropped it. I adjusted the patch summary to be: ext4: add missing brelse() add_new_gdb_meta_bg()'s error path The commments for the Fixes and Cc: stable@kernel.org also apply. - Ted