In 3rd scene, it should remove data blocks instead of inline_data.

Signed-off-by: Jack Qiu <[email protected]>
---
 fs/f2fs/inline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c
index 70384e31788d..0399531efcd3 100644
--- a/fs/f2fs/inline.c
+++ b/fs/f2fs/inline.c
@@ -266,7 +266,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))
--
2.17.1



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to