Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp2328585imc; Tue, 12 Mar 2019 11:29:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgmK2OrtWqIMl7qHZ4QjKa9fueTGoHIxQxKZi3LkSanLVuQ51ALGsl+59KXo/wDS37wq3Z X-Received: by 2002:a5d:848b:: with SMTP id t11mr18839835iom.270.1552415368956; Tue, 12 Mar 2019 11:29:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552415368; cv=none; d=google.com; s=arc-20160816; b=xuKaQNzgN0Jb7Z9GX7tnEdEp/XkINjUJ1MiWvU+bBvctuV03OWIdcL8QwvkX81rgMy F1Y1zBOsXbhhyYC5OoFUEdBNISO5TsdcSubkbR+u1wOj1Dez36wX1ROKpKNaLIjgkTOE JWPMeTBfJ8c3xqD5CfGKrb+7L8FruPOo7+lL5zL66+uWB/G+i7GER6IQLqzRU3T9TaNM /zSYNXTYta8WxgTtiB5nNIbm/385prOQvvh8oZRCnyEeJoin2lPltbcAkSW4nzw6ypJi EARai504c7qukisL1bcduO6l7amKR9x8ogC1bZm+/vQ5fydtn2loVaEExB0893FMl0oj fjig== 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:message-id:subject:cc :to:from:date:dkim-signature; bh=JNQSQcpjc2eYxZH/ZfJHTJuTqyNLOyB+tVqOe6cJcvM=; b=Tz9E8q/6+fR4WLQlSDlnmgbIakJ19K+GbSHoGLefvVDJ6efX/S5FDJ4GjNuEM9ncna SRts8zp2CSDQA5OkJLlyGJxsBwzZ63mUk19kdJKAZxFDnBK0iVvuE4Awm180dwtClQzb WbM6J4JzrG9L0Rw57j0mBTbYz0gGBT1XkV/cul9exDJHY2DPqCA6i6a9HjFIR3LWcGdA wuD6w9T/B3IgchZpsKo0IMwTaA0GbBTT0hXt4d53oneYoqgCAXLw2cxjHx7R6vuF10v7 8Hlr0IYLXAseL4TA4S8cThTuthuu+4PEMAM0fZGVFzjKgW7O2mhPF8joX5o2ODebGLVs 5b0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=by7Xdgom; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f38si4547078jaa.58.2019.03.12.11.29.14; Tue, 12 Mar 2019 11:29:28 -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=pass header.i=@kernel.org header.s=default header.b=by7Xdgom; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726887AbfCLS24 (ORCPT + 99 others); Tue, 12 Mar 2019 14:28:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:41202 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726339AbfCLS24 (ORCPT ); Tue, 12 Mar 2019 14:28:56 -0400 Received: from localhost (unknown [104.132.1.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AF2B8213A2; Tue, 12 Mar 2019 18:28:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552415335; bh=0EQ5NPrjN6Hpa/pP9+oS9NCqsAFQWz9foY2fM15nCAM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=by7XdgomKsGHc3hfKpDtVUKBk2ACbRfEWBNfPGLcswJB1K7aF7bYyNufSqjXoxqIx hOJV0xB3haQsnK5/GSFcJ+d4LSFoGzZgC9GNHI/q36QuoD+s8Uxe1nTGOWpz01DuC5 2yBwU22pcbs/GTuZesTv4qUa2dKksSCdkOwRjGc4= Date: Tue, 12 Mar 2019 11:28:55 -0700 From: Jaegeuk Kim To: Chao Yu Cc: Chao Yu , linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Weichao Guo Subject: Re: [PATCH v11] f2fs: guarantee journalled quota data by checkpoint Message-ID: <20190312182855.GA45421@jaegeuk-macbookpro.roam.corp.google.com> References: <20180920120500.21026-1-chao@kernel.org> <7a2b9277-acbf-eda4-d043-74463d7b61c7@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7a2b9277-acbf-eda4-d043-74463d7b61c7@huawei.com> User-Agent: Mutt/1.8.2 (2017-04-18) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/06, Chao Yu wrote: > Hi Jaegeuk, > > On 2018/9/20 20:05, Chao Yu wrote: > > @@ -3456,3 +3477,16 @@ > > > > extern void f2fs_build_fault_attr(struct f2fs_sb_info *sbi, unsigned int rate, > > > > #endif > > #endif > > + > > +static inline bool is_journalled_quota(struct f2fs_sb_info *sbi) > > +{ > > +#ifdef CONFIG_QUOTA > > + if (f2fs_sb_has_quota_ino(sbi->sb)) > > + return true; > > + if (F2FS_OPTION(sbi).s_qf_names[USRQUOTA] || > > + F2FS_OPTION(sbi).s_qf_names[GRPQUOTA] || > > + F2FS_OPTION(sbi).s_qf_names[PRJQUOTA]) > > + return true; > > +#endif > > + return false; > > +} > > I checked dev branch, and found one patch we didn't send to mailing list, > could you please send it out? > > f2fs: fix wrong #endif > > I think my quota patch caused this 'wrong #endif' issue, could you add > single line comment to notice which #if the last #endif is corresponding > to? so that we can avoid same mistake as quota patch made. Ah, I forgot to post the patch. It's quite late but obvious, and thus let me keep the patch as is in order to avoid messing up the commit history. Thanks,