aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/inode.c
diff options
context:
space:
mode:
authorJiro SEKIBA <jir@unicus.jp>2009-11-27 05:41:06 -0500
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-11-27 06:05:15 -0500
commit9ca941d4b62e72571948efe5a73c563b4cacc98d (patch)
tree8c4a5cde6c2e626758c0aed85fe9cd7759747890 /fs/nilfs2/inode.c
parent0234576d041b9b2cc7043691ea61d2c2ca597aaa (diff)
nilfs2: delete mark_inode_dirty in nilfs_new_inode
It is redundant to call mark_inode_dirty() in nilfs_new_inode() because all caller of nilfs_new_inode() will call mark_inode_dirty() after calling nilfs_new_inode() directly or indirectly in transaction. Signed-off-by: Jiro SEKIBA <jir@unicus.jp> Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/inode.c')
-rw-r--r--fs/nilfs2/inode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nilfs2/inode.c b/fs/nilfs2/inode.c
index a16c179f2b9a..ede03752b96f 100644
--- a/fs/nilfs2/inode.c
+++ b/fs/nilfs2/inode.c
@@ -323,7 +323,6 @@ struct inode *nilfs_new_inode(struct inode *dir, int mode)
323 nilfs_init_acl(), proper cancellation of 323 nilfs_init_acl(), proper cancellation of
324 above jobs should be considered */ 324 above jobs should be considered */
325 325
326 mark_inode_dirty(inode);
327 return inode; 326 return inode;
328 327
329 failed_acl: 328 failed_acl: