f2fs: remove rewrite_node_page
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 15 Aug 2014 16:56:46 +0000 (09:56 -0700)
committerIan Chang <ianc@nvidia.com>
Wed, 27 Jan 2016 10:04:11 +0000 (18:04 +0800)
commitfe8d2d9762c67f03dab7610b3906189aa268afe6
treebf15dd7f531dc8b305131c5969a12eeb88b711b7
parentf46e345e28f4c558d8d0d2de77e4c442a9ff2c68
f2fs: remove rewrite_node_page

I think we need to let the dirty node pages remain in the page cache instead
of rewriting them in their places.
So, after done with successful recovery, write_checkpoint will flush all of them
through the normal write path.
Through this, we can avoid potential error cases in terms of block allocation.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/node.c
fs/f2fs/recovery.c
fs/f2fs/segment.c