diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2014-04-15 09:04:15 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2014-05-07 03:21:54 +0200 |
commit | 76f60268e70a700c04c85e1b0d520c94062a40a2 (patch) | |
tree | 9309a0812e142e6bae92d71118ade9bd0fcd2a93 /fs/f2fs/node.c | |
parent | f2fs: avoid to conduct roll-forward due to the remained garbage blocks (diff) | |
download | linux-76f60268e70a700c04c85e1b0d520c94062a40a2.tar.xz linux-76f60268e70a700c04c85e1b0d520c94062a40a2.zip |
f2fs: call redirty_page_for_writepage
This patch replace some general codes with redirty_page_for_writepage, which
can be enabled after consideration on additional procedure like counting dirty
pages appropriately.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/node.c')
-rw-r--r-- | fs/f2fs/node.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index a161e955c4c8..f760793c1a64 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -1227,10 +1227,7 @@ static int f2fs_write_node_page(struct page *page, return 0; redirty_out: - dec_page_count(sbi, F2FS_DIRTY_NODES); - wbc->pages_skipped++; - account_page_redirty(page); - set_page_dirty(page); + redirty_page_for_writepage(wbc, page); return AOP_WRITEPAGE_ACTIVATE; } |