Skip to content
Commit 97498956 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: clear the dirty bit for a page in writeback at the last minute



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: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 4f01b02c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment