From: Qi Han <hanqi@vivo.com>
To: jaegeuk@kernel.org, chao@kernel.org
Cc: linux-f2fs-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org, Qi Han <hanqi@vivo.com>
Subject: [PATCH] f2fs: move wrong comment to right place in __may_age_extent_tree
Date: Fri, 21 Apr 2023 14:51:25 +0800 [thread overview]
Message-ID: <20230421065125.44762-1-hanqi@vivo.com> (raw)
In-Reply-To: <20230418060954.67585-1-hanqi@vivo.com>
This code is commented in the wrong place, let's move it to the right
place.
Signed-off-by: Qi Han <hanqi@vivo.com>
---
fs/f2fs/extent_cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/f2fs/extent_cache.c b/fs/f2fs/extent_cache.c
index 28b12553f2b3..0ad769a822ac 100644
--- a/fs/f2fs/extent_cache.c
+++ b/fs/f2fs/extent_cache.c
@@ -86,9 +86,9 @@ static bool __may_age_extent_tree(struct inode *inode)
if (!test_opt(sbi, AGE_EXTENT_CACHE))
return false;
- /* don't cache block age info for cold file */
if (is_inode_flag_set(inode, FI_COMPRESSED_FILE))
return false;
+ /* don't cache block age info for cold file */
if (file_is_cold(inode))
return false;
--
2.39.0
next prev parent reply other threads:[~2023-04-21 6:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-18 6:09 [PATCH] f2fs: remove unnessary comment " Qi Han
2023-04-21 2:27 ` Chao Yu
2023-04-21 19:20 ` Jaegeuk Kim
2023-04-22 12:15 ` Chao Yu
2023-04-21 6:51 ` Qi Han [this message]
2023-04-24 18:10 ` [f2fs-dev] " patchwork-bot+f2fs
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=20230421065125.44762-1-hanqi@vivo.com \
--to=hanqi@vivo.com \
--cc=chao@kernel.org \
--cc=jaegeuk@kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.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: 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®