]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ext4: Avoid updating the inode table bh twice in no journal mode
authorFrank Mayhar <fmayhar@google.com>
Tue, 29 Sep 2009 14:07:47 +0000 (10:07 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 29 Sep 2009 14:07:47 +0000 (10:07 -0400)
commit830156c79b0a99ddf0f62496bcf4de640f9f52cd
tree7af8e969f359afd8a4738e22b0374b567041a1fd
parentf3ce8064b388ccf420012c5a4907aae4f13fe9d0
ext4: Avoid updating the inode table bh twice in no journal mode

This is a cleanup of commit 91ac6f4.  Since ext4_mark_inode_dirty()
has already called ext4_mark_iloc_dirty(), which in turn calls
ext4_do_update_inode(), it's not necessary to have ext4_write_inode()
call ext4_do_update_inode() in no journal mode.  Indeed, it would be
duplicated work.

Reviewed-by: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Frank Mayhar <fmayhar@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c