All of lore.kernel.org
 help / color / mirror / Atom feed
* [dev-test][PATCH 1/2] f2fs: add a missing truncate_inode_pages_final
@ 2017-03-10  9:50 Yunlei He
  2017-03-10  9:50 ` [PATCH 2/2] f2fs: avoid move encrypted block in BG_GC if it has been in memory Yunlei He
  2017-03-17  1:49 ` [dev-test][PATCH 1/2] f2fs: add a missing truncate_inode_pages_final Jaegeuk Kim
  0 siblings, 2 replies; 6+ messages in thread
From: Yunlei He @ 2017-03-10  9:50 UTC (permalink / raw)
  To: jaegeuk, yuchao0, linux-f2fs-devel

This patch add a missing truncate_inode_pages_final

Signed-off-by: Yunlei He <heyunlei@huawei.com>
---
 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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-17  1:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-10  9:50 [dev-test][PATCH 1/2] f2fs: add a missing truncate_inode_pages_final Yunlei He
2017-03-10  9:50 ` [PATCH 2/2] f2fs: avoid move encrypted block in BG_GC if it has been in memory Yunlei He
2017-03-13 18:30   ` Jaegeuk Kim
2017-03-14  1:37     ` heyunlei
2017-03-14  3:42       ` Chao Yu
2017-03-17  1:49 ` [dev-test][PATCH 1/2] f2fs: add a missing truncate_inode_pages_final Jaegeuk Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.