summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-01-07 13:52:34 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2016-01-08 11:45:23 -0800
commit2a4b8e9fab9cea45d90179d9ee8e718c5ed26457 (patch)
treefb866bec2dd3dc0d46b18f90e4d3d51bf556877c /fs/f2fs
parent12719ae14e57980ebf0a7baa63bc80494c76b192 (diff)
downloadop-kernel-dev-2a4b8e9fab9cea45d90179d9ee8e718c5ed26457.zip
op-kernel-dev-2a4b8e9fab9cea45d90179d9ee8e718c5ed26457.tar.gz
f2fs: remove redundant calls
This patch removes redundant calls. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/file.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index e3d32f6..69bc65f 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -267,8 +267,6 @@ sync_nodes:
if (need_inode_block_update(sbi, ino)) {
mark_inode_dirty_sync(inode);
f2fs_write_inode(inode, NULL);
-
- f2fs_balance_fs(sbi);
goto sync_nodes;
}
@@ -484,7 +482,6 @@ int truncate_data_blocks_range(struct dnode_of_data *dn, int count)
F2FS_I(dn->inode)) + ofs;
f2fs_update_extent_cache_range(dn, fofs, 0, len);
dec_valid_block_count(sbi, dn->inode, nr_free);
- set_page_dirty(dn->node_page);
sync_inode_page(dn);
}
dn->ofs_in_node = ofs;
OpenPOWER on IntegriCloud