f2fs: inline: correct comment in f2fs_recover_inline_data
authorJack Qiu <jack.qiu@huawei.com>
Mon, 7 Dec 2020 12:01:12 +0000 (20:01 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 8 Dec 2020 22:25:41 +0000 (14:25 -0800)
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>
fs/f2fs/inline.c

index d09a0bdc01974a1f6bcdc9a15b3b9292d036cb8c..9822f56359aa45003fc5a2837d9353b18cdafa4e 100644 (file)
@@ -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))