]> git.baikalelectronics.ru Git - 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)
commitdd08505a5d8cc61a7e9be3c84fdf3b01c44140cc
tree7af8e969f359afd8a4738e22b0374b567041a1fd
parent0df9d560b014d1efdf254edf34cee3f85e023f0b
ext4: Avoid updating the inode table bh twice in no journal mode

This is a cleanup of commit baf5d3b.  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