Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2084218imm; Thu, 20 Sep 2018 07:33:31 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbP2k/OJDSPsl6uyc/74rzY9Orr05XMFGKsxlmnxqcsWCH2rp+rF8zh2kywOG5KPMtsTDoq X-Received: by 2002:a63:ad44:: with SMTP id y4-v6mr36944132pgo.138.1537454011234; Thu, 20 Sep 2018 07:33:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537454011; cv=none; d=google.com; s=arc-20160816; b=zwdvtK3Cviz8wHxJVpkHYt0B1S7jNZGmEsASgX3xAp1epLQeYO5TkSii2tfBsrxvxr E4DrEFkU6UyotrYcxEc31zfbuR+2AqOLrO9bNR+x4hhqTDaopcyZqDvi5tAD95rMKZL4 Q6olwSCONWeLjx/xH+IcDbiEXyZJjDvE7FIU/Nx8RdrotRxKFnX1un3Av0EG7AJp8CQ7 fWscY2i9pDU2Vs37NeTpHImTKqEqH2IyRQDnPBfUZH0y7+Y8elbGwuZccSH1DDldYFPr fx2Myh5WGiPgMPQX5A9bdrcqolY1Cy+c0twIRDCzcMOdn5V4aj3ZgGf2/BoXKQi90KHH uyDQ== 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=I1RisUTLu2tQ9M9MoFqKuWfWKDnNwgcJjy9GIsgIBg8=; b=StRAcmjiHumSy3E7ZIUop9QasxfSZ+FSejPjmMx0WGxIdXZf+XfutbYCc19kDZ7XX+ +/f9JUdC23YjEdcTFi/kB+my+8ASOU6ctFUqHylwe/DtewT9QGqt+45TyE1eryfhF/X7 MVCRkclTvgDpVP1eCYeK6t5BQZ6gQNdlK8vcZVI7GUuchW4BMg2q34tchJSHoeFi73QI nAMqYQydTaYwtOAUtydyUoBfA0Bl2T49TaXJ/qwn+PPcIsavYcFlovlsr/HSmzCw/upC WnrqLi4yJYG512W/8uQdjK6uMGsgMJswv4ObQ3upUQerWT9P92hahGjX66qdQn61Fp9K npuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=i5bRd7aB; 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 n8-v6si23941419pgl.101.2018.09.20.07.33.14; Thu, 20 Sep 2018 07:33:31 -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=i5bRd7aB; 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 S2387525AbeITUQE (ORCPT + 99 others); Thu, 20 Sep 2018 16:16:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:54536 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727633AbeITUQE (ORCPT ); Thu, 20 Sep 2018 16:16:04 -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 2364021531; Thu, 20 Sep 2018 14:32:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1537453938; bh=8+dYL2qbHngWEQxEZTonAdohTYNw6EU9KAAeMHeS9dE=; h=Subject:To:References:From:Date:In-Reply-To:From; b=i5bRd7aBOw++DK96nszW4c2P9jycdvxbyd9fZMs/FEUJ8fCc7ensPvV/VDeyspx2w dxpIYE2BInc0K7eG7AEPoo0G7+qm6h8VR7+Goti+g+J6QTuQIiQvoXkd39Cz8rJ3pn aA4QM2bhuTnp51ybAPuJ8cS1w6bDC6NrE22jP+po= Subject: Re: [PATCH] jfs: remove redundant dquot_initialize() in jfs_evict_inode() To: Dave Kleikamp , Chao Yu , "open list:JFS FILESYSTEM" , open list References: <20180917071221.13187-1-yuchao0@huawei.com> From: Chao Yu Message-ID: Date: Thu, 20 Sep 2018 22:32:09 +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: 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 On 2018/9/20 22:24, Dave Kleikamp wrote: > On 9/20/18 9:18 AM, Chao Yu wrote: >> Ping, >> >> Any comments? > > Sorry for putting it off. It looks good to me. I'll push it upstream. Thanks for your review. ;) Thanks, > > Thanks, > Dave > >> >> 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 { >>>