Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1304103
| From | Jaegeuk Kim <jaegeuk@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/3] f2fs: remove redundant calls |
| Date | 2016-01-08 02:40 +0100 |
| Message-ID | <qOuc3-7Ww-23@gated-at.bofh.it> (permalink) |
| References | <qOuc2-7Ww-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This patch removes redundant calls.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
---
fs/f2fs/file.c | 3 ---
1 file changed, 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;
--
2.6.3
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/3] f2fs: avoid unnecessary f2fs_balance_fs calls Jaegeuk Kim <jaegeuk@kernel.org> - 2016-01-08 02:40 +0100 [PATCH 2/3] f2fs: remove redundant calls Jaegeuk Kim <jaegeuk@kernel.org> - 2016-01-08 02:40 +0100
csiph-web