diff options
author | Chao Yu <yuchao0@huawei.com> | 2018-03-09 14:24:22 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-03-17 13:57:33 +0900 |
commit | c56675750d7c45ce6cc21a67770629aaf41d1491 (patch) | |
tree | 61b952c98fac04f320290d4d69168a023da6be16 /fs/f2fs/inode.c | |
parent | b91050a80cec3daf5a21f78274330df64a4936a3 (diff) | |
download | linux-stable-c56675750d7c45ce6cc21a67770629aaf41d1491.tar.gz linux-stable-c56675750d7c45ce6cc21a67770629aaf41d1491.tar.bz2 linux-stable-c56675750d7c45ce6cc21a67770629aaf41d1491.zip |
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>
Diffstat (limited to 'fs/f2fs/inode.c')
-rw-r--r-- | fs/f2fs/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c index 4efc815129b1..401f09ccce7e 100644 --- a/fs/f2fs/inode.c +++ b/fs/f2fs/inode.c @@ -439,7 +439,6 @@ void update_inode(struct inode *inode, struct page *node_page) } __set_inode_rdev(inode, ri); - set_cold_node(inode, node_page); /* deleted inode */ if (inode->i_nlink == 0) |