Dirty bit needs to be reset after flushing.