]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitf3dc272fd5e2ae08244796bb39e7e1ce4b25d3b3
tree795edae4030352dfea7cb79ed5a5b0b5ef3d3afb
parent830156c79b0a99ddf0f62496bcf4de640f9f52cd
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