]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: Make sure ext4_dirty_inode() updates the inode in no journal mode
authorCurt Wohlgemuth <curtw@google.com>
Tue, 29 Sep 2009 20:06:01 +0000 (16:06 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 29 Sep 2009 20:06:01 +0000 (16:06 -0400)
commit099667d2dd8bb1f8ffbf20ecdcf07f0bd22a178c
tree795edae4030352dfea7cb79ed5a5b0b5ef3d3afb
parentdd08505a5d8cc61a7e9be3c84fdf3b01c44140cc
ext4: Make sure ext4_dirty_inode() updates the inode in no journal mode

This patch a problem that ext4_dirty_inode() was not calling
ext4_mark_inode_dirty() if the current_handle is not valid, which it
is the case in no journal mode.

It also removes a test for non-matching transaction which can never
happen.

Signed-off-by: Curt Wohlgemuth <curtw@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c