f2fs: remove unneeded set_cold_node()
authorChao Yu <yuchao0@huawei.com>
Fri, 9 Mar 2018 06:24:22 +0000 (14:24 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 8 Apr 2018 11:14:23 +0000 (04:14 -0700)
commit8dbfcba5f5d69b8826c4214be651296754755c83
tree2fd388b9419234e083ed579c792831c368cdad91
parent7e93bf8ebc348ea5455bb0d3dc73e8803f87c0bd
f2fs: remove unneeded set_cold_node()

When setting COLD_BIT_SHIFT flag in node block, we only need to call
set_cold_node() in new_node_page() and recover_inode_page() during
node page initialization. So remove unneeded set_cold_node() in other
places.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/dir.c
fs/f2fs/inode.c
fs/f2fs/node.c
fs/f2fs/node.h