Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2070208imm; Thu, 20 Sep 2018 07:21:08 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZbEhn9Okz5ZnNLsPpKHp0acEiVagT4dejDITUGJzSiNDvUulxtDgc2luwDN1dj1BdakssI X-Received: by 2002:a17:902:bb84:: with SMTP id m4-v6mr4593163pls.328.1537453268570; Thu, 20 Sep 2018 07:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537453268; cv=none; d=google.com; s=arc-20160816; b=v/zhQZDQilWHkfWz30/6tljuow9KCvXpkLKVo3wfbml/2v+rYTPwsxt2iGUtM3Ux4g OcaNwtkatbop+XP8uVxaoIiyGhy8yUydFCvIqjPz3InnnOFv0JqDRplai6TBNjiWL+2F JOAGJgDNyCgfWfqO0QLToZadTC6/w88Ve4nPxu+ktXbOrbU8VncRuIrgyrW/RvvbK6f4 QIU0SIDTu/Zby0QsbMDh5C46js1cwIQVrOFuX19jjI2FiDB57FP8/RjeASc9SS7Z5/+c W3v1pN8xWNSF8WYcz27kx7T558o0TVT49NU/I4JNQO0Fyl9ib3l6IBoreIGdymg7Sk/t 07kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=lSeyIateOLybmX43f+IGj0cNmVsGT4jBTEh0oUUsMH8=; b=UCWELaRZ2ldeuPRyUdlwhNbQeljvCgZeytfKs5D9Q60hbRq1V7VTn057pE+4scsEk2 ECtkjCxPPhCDY+kAQ1C+EXXBBJyXilNI4Go3BtPzQtt2vSvzzGs2TqlqoWnAcJF8pKdj UfoDbDdt7GHqMfthTsu7jIdbH6BPOaSwS5pIirREjtjdaIOYXGgGrU76ny0BrSN2xWd1 77uFJFXPTjz6CRNh3ZaaCesNO1VbDvRAhjxS7SKPMAqydUXLxsWZ7XTTwNjaSIesZn3X WozNM2YqnpPQxK1iuqqtXaFx2w+ziUrwaHuW1OwQebHFi+Vq44g2m+YeXEVb8lzmWiSq LQVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gL8aQxsv; 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 z11-v6si23614948plk.490.2018.09.20.07.20.52; Thu, 20 Sep 2018 07:21:08 -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=gL8aQxsv; 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 S1732924AbeITUCn (ORCPT + 99 others); Thu, 20 Sep 2018 16:02:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:50118 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730955AbeITUCn (ORCPT ); Thu, 20 Sep 2018 16:02:43 -0400 Received: from [192.168.0.101] (unknown [117.62.222.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BB71321532; Thu, 20 Sep 2018 14:18:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1537453141; bh=OTpHNOvWTsvkCHBAmiZ/bR9jpMMPRm5Cr1yg6MIW9u0=; h=Subject:To:References:From:Date:In-Reply-To:From; b=gL8aQxsvxr0GNERL72ExqL/fCJGD89mEc2hld5CkjkW2kyWMxWXVCuZWdrNhlc45v bnxRlJbCtVwiOMBC6PiwAG5W5ijut31HklX5270keg1svcIZfuva43JZR7kRh9xyOA woKTrX8+tKZ0dcy2VRvzxfeCMsvZ3bULjHfoGtgI= Subject: Re: [PATCH] jfs: remove redundant dquot_initialize() in jfs_evict_inode() To: Chao Yu , Dave Kleikamp , "open list:JFS FILESYSTEM" , open list , dave.kleikamp@oracle.com References: <20180917071221.13187-1-yuchao0@huawei.com> From: Chao Yu Message-ID: Date: Thu, 20 Sep 2018 22:18:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180917071221.13187-1-yuchao0@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ping, Any comments? On 2018/9/17 15:12, Chao Yu wrote: > We don't need to call dquot_initialize() twice in jfs_evict_inode(), > remove one of them for cleanup. > > Signed-off-by: Chao Yu > --- > fs/jfs/inode.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/jfs/inode.c b/fs/jfs/inode.c > index 054cc761b426..805ae9e8944a 100644 > --- a/fs/jfs/inode.c > +++ b/fs/jfs/inode.c > @@ -166,7 +166,6 @@ void jfs_evict_inode(struct inode *inode) > /* > * Free the inode from the quota allocation. > */ > - dquot_initialize(inode); > dquot_free_inode(inode); > } > } else { >