From: Chao Yu <chao@kernel.org>
To: Dave Kleikamp <dave.kleikamp@oracle.com>,
Chao Yu <yuchao0@huawei.com>,
"open list:JFS FILESYSTEM" <jfs-discussion@lists.sourceforge.net>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] jfs: remove redundant dquot_initialize() in jfs_evict_inode()
Date: Thu, 20 Sep 2018 22:32:09 +0800 [thread overview]
Message-ID: <aa505360-1d45-58c1-6ecf-3897799d6a04@kernel.org> (raw)
In-Reply-To: <d6360818-2808-d5a6-119d-97cb506b7d15@oracle.com>
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 <yuchao0@huawei.com>
>>> ---
>>> 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 {
>>>
prev parent reply other threads:[~2018-09-20 14:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-17 7:12 Chao Yu
2018-09-20 14:18 ` Chao Yu
2018-09-20 14:24 ` Dave Kleikamp
2018-09-20 14:32 ` Chao Yu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aa505360-1d45-58c1-6ecf-3897799d6a04@kernel.org \
--to=chao@kernel.org \
--cc=dave.kleikamp@oracle.com \
--cc=jfs-discussion@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=yuchao0@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®