Commit 2a4b8e9f authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: remove redundant calls

This patch removes redundant calls.
Signed-off-by: default avatarJaegeuk Kim <>
parent 12719ae1
......@@ -267,8 +267,6 @@ int f2fs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
if (need_inode_block_update(sbi, ino)) {
f2fs_write_inode(inode, NULL);
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);
dn->ofs_in_node = ofs;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment