This patch add a missing truncate_inode_pages_final

Signed-off-by: Yunlei He <[email protected]>
---
 fs/f2fs/super.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index cfb40d3..7ad2606 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -642,6 +642,8 @@ static int f2fs_drop_inode(struct inode *inode)
                        if (f2fs_is_atomic_file(inode))
                                drop_inmem_pages(inode);
 
+                       truncate_inode_pages_final(&inode->i_data);
+
                        /* should remain fi->extent_tree for writepage */
                        f2fs_destroy_extent_node(inode);
 
-- 
2.10.1


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to