aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Qiu2020-12-07 06:01:12 -0600
committerJaegeuk Kim2020-12-21 15:33:18 -0600
commitfb7f57b3957fd1846acfd8f31f33462fd5aacae8 (patch)
tree7e9567a2e0a400ae242a6bfa66693dbbbc6c58e8
parent3ee09676335209a936adbd2dec122dc560431da1 (diff)
downloadkernel-fb7f57b3957fd1846acfd8f31f33462fd5aacae8.tar.gz
kernel-fb7f57b3957fd1846acfd8f31f33462fd5aacae8.tar.xz
kernel-fb7f57b3957fd1846acfd8f31f33462fd5aacae8.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>
-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)
267 * [prev.] [next] of inline_data flag 267 * [prev.] [next] of inline_data flag
268 * o o -> recover inline_data 268 * o o -> recover inline_data
269 * o x -> remove inline_data, and then recover data blocks 269 * o x -> remove inline_data, and then recover data blocks
270 * x o -> remove inline_data, and then recover inline_data 270 * x o -> remove data blocks, and then recover inline_data
271 * x x -> recover data blocks 271 * x x -> recover data blocks
272 */ 272 */
273 if (IS_INODE(npage)) 273 if (IS_INODE(npage))