From: Chao Yu <yuchao0@huawei.com> To: Jaegeuk Kim <jaegeuk@kernel.org> Cc: Sahitya Tummala <stummala@codeaurora.org>, <linux-f2fs-devel@lists.sourceforge.net>, <linux-kernel@vger.kernel.org> Subject: Re: [PATCH 2/2] f2fs: update REQ_TIME in f2fs_cross_rename() Date: Tue, 16 Oct 2018 09:34:10 +0800 [thread overview] Message-ID: <93a29c62-8115-607c-5b69-a506c9b9a3a1@huawei.com> (raw) In-Reply-To: <20181015230357.GA1296@jaegeuk-macbookpro.roam.corp.google.com> On 2018/10/16 7:03, Jaegeuk Kim wrote: > On 10/15, Chao Yu wrote: >> On 2018/10/5 13:17, Sahitya Tummala wrote: >>> Update REQ_TIME in the missing path - f2fs_cross_rename(). >> >> Needs to cover f2fs_rename() as well? > > Hi, I've added this in f2fs_rename(). Oh, I see, it looks okay to me now. :) Reviewed-by: Chao Yu <yuchao0@huawei.com> Thanks, > > Thanks, > >> >> Thanks, >> >>> >>> Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> >>> --- >>> fs/f2fs/namei.c | 2 ++ >>> 1 file changed, 2 insertions(+) >>> >>> diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c >>> index a146327..e37af23 100644 >>> --- a/fs/f2fs/namei.c >>> +++ b/fs/f2fs/namei.c >>> @@ -1154,6 +1154,8 @@ static int f2fs_cross_rename(struct inode *old_dir, struct dentry *old_dentry, >>> >>> if (IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir)) >>> f2fs_sync_fs(sbi->sb, 1); >>> + >>> + f2fs_update_time(sbi, REQ_TIME); >>> return 0; >>> out_new_dir: >>> if (new_dir_entry) { >>> > > . >
WARNING: multiple messages have this Message-ID (diff)
From: Chao Yu <yuchao0@huawei.com> To: Jaegeuk Kim <jaegeuk@kernel.org> Cc: Sahitya Tummala <stummala@codeaurora.org>, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] f2fs: update REQ_TIME in f2fs_cross_rename() Date: Tue, 16 Oct 2018 09:34:10 +0800 [thread overview] Message-ID: <93a29c62-8115-607c-5b69-a506c9b9a3a1@huawei.com> (raw) In-Reply-To: <20181015230357.GA1296@jaegeuk-macbookpro.roam.corp.google.com> On 2018/10/16 7:03, Jaegeuk Kim wrote: > On 10/15, Chao Yu wrote: >> On 2018/10/5 13:17, Sahitya Tummala wrote: >>> Update REQ_TIME in the missing path - f2fs_cross_rename(). >> >> Needs to cover f2fs_rename() as well? > > Hi, I've added this in f2fs_rename(). Oh, I see, it looks okay to me now. :) Reviewed-by: Chao Yu <yuchao0@huawei.com> Thanks, > > Thanks, > >> >> Thanks, >> >>> >>> Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> >>> --- >>> fs/f2fs/namei.c | 2 ++ >>> 1 file changed, 2 insertions(+) >>> >>> diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c >>> index a146327..e37af23 100644 >>> --- a/fs/f2fs/namei.c >>> +++ b/fs/f2fs/namei.c >>> @@ -1154,6 +1154,8 @@ static int f2fs_cross_rename(struct inode *old_dir, struct dentry *old_dentry, >>> >>> if (IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir)) >>> f2fs_sync_fs(sbi->sb, 1); >>> + >>> + f2fs_update_time(sbi, REQ_TIME); >>> return 0; >>> out_new_dir: >>> if (new_dir_entry) { >>> > > . >
next prev parent reply other threads:[~2018-10-16 1:34 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-10-05 5:17 [PATCH 1/2] f2fs: do not update REQ_TIME in case of error conditions Sahitya Tummala 2018-10-05 5:17 ` [PATCH 2/2] f2fs: update REQ_TIME in f2fs_cross_rename() Sahitya Tummala 2018-10-15 12:00 ` Chao Yu 2018-10-15 12:00 ` Chao Yu 2018-10-15 23:03 ` Jaegeuk Kim 2018-10-16 1:34 ` Chao Yu [this message] 2018-10-16 1:34 ` Chao Yu 2018-10-15 11:52 ` [PATCH 1/2] f2fs: do not update REQ_TIME in case of error conditions Chao Yu 2018-10-15 11:52 ` Chao Yu
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=93a29c62-8115-607c-5b69-a506c9b9a3a1@huawei.com \ --to=yuchao0@huawei.com \ --cc=jaegeuk@kernel.org \ --cc=linux-f2fs-devel@lists.sourceforge.net \ --cc=linux-kernel@vger.kernel.org \ --cc=stummala@codeaurora.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.