summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorJack Qiu <jack.qiu@huawei.com>2020-12-07 13:01:12 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2020-12-08 23:25:41 +0100
commit6e5ca4fce7b3fc6065593a3a58f734a14d5a44c3 (patch)
treec4c25a92b3063bad5e2b9705ddf09218d4cb03b8 /fs/f2fs
parentf2fs: don't check PAGE_SIZE again in sanity_check_raw_super() (diff)
downloadlinux-6e5ca4fce7b3fc6065593a3a58f734a14d5a44c3.tar.xz
linux-6e5ca4fce7b3fc6065593a3a58f734a14d5a44c3.zip
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))