ext4: clear the dirty bit for a page in writeback at the last minute
authorTheodore Ts'o <tytso@mit.edu>
Sat, 26 Feb 2011 19:08:01 +0000 (14:08 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 26 Feb 2011 19:08:01 +0000 (14:08 -0500)
Move when we call clear_page_dirty_for_io() to just before we actually
write the page.  This simplifies the code somewhat, and avoids marking
pages as clean and then needing to remark them as dirty later.

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

diff --cc fs/ext4/inode.c
Simple merge