f2fs: clean up node page updating flow
authorChao Yu <chao2.yu@samsung.com>
Fri, 11 Dec 2015 08:08:22 +0000 (16:08 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 14 Dec 2015 17:09:17 +0000 (09:09 -0800)
commite1c51b9f1df2f9efc2ec11488717e40cd12015f9
tree36a42c9cface5ef9341809de0fadfb110802a2af
parentea212a4a7a432e0ecd0f0f53971b70172b3e7f96
f2fs: clean up node page updating flow

If read_node_page return LOCKED_PAGE, in its caller it's better a) skip
unneeded 'Update' flag and mapping info verfication; b) check nid value
stored in footer structure of node page.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c