projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12719ae
)
f2fs: remove redundant calls
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 7 Jan 2016 21:52:34 +0000
(13:52 -0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 8 Jan 2016 19:45:23 +0000
(11:45 -0800)
This patch removes redundant calls.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/file.c
b/fs/f2fs/file.c
index e3d32f6b4b4f5bc674ee5ae7ffb4e132d2c32130..69bc65fd862c42febcb44cb87cb4c59600fae834 100644
(file)
--- 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;