summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorJack Qiu <jack.qiu@huawei.com>2020-12-07 20:01:12 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2020-12-08 14:25:41 -0800
commit6e5ca4fce7b3fc6065593a3a58f734a14d5a44c3 (patch)
treec4c25a92b3063bad5e2b9705ddf09218d4cb03b8 /fs/f2fs
parentd540e35d4e547776ea78d51f614ec38ed2824fbe (diff)
downloadlinux-6e5ca4fce7b3fc6065593a3a58f734a14d5a44c3.tar.bz2
f2fs: inline: correct comment in f2fs_recover_inline_data
In 3rd scene, it should remove data blocks instead of inline_data. Signed-off-by: Jack Qiu <jack.qiu@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c
index d09a0bdc0197..9822f56359aa 100644
--- a/fs/f2fs/inline.c
+++ b/fs/f2fs/inline.c
@@ -267,7 +267,7 @@ int f2fs_recover_inline_data(struct inode *inode, struct page *npage)
* [prev.] [next] of inline_data flag
* o o -> recover inline_data
* o x -> remove inline_data, and then recover data blocks
- * x o -> remove inline_data, and then recover inline_data
+ * x o -> remove data blocks, and then recover inline_data
* x x -> recover data blocks
*/
if (IS_INODE(npage))