modify for accurate fggc node io stat

Signed-off-by: Yunlei He <heyun...@huawei.com>
---
 fs/f2fs/node.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index f44d837..f4f2894 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -1259,7 +1259,7 @@ void move_node_page(struct page *node_page, int gc_type)
                if (!clear_page_dirty_for_io(node_page))
                        goto out_page;
 
-               if (NODE_MAPPING(sbi)->a_ops->writepage(node_page, &wbc))
+               if (__write_node_page(page, false, NULL, &wbc, false, 
FS_GC_NODE_IO))
                        unlock_page(node_page);
                goto release_page;
        } else {
-- 
2.7.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to