[PATCH] jbd2: Silence warnings about non-uptodate buffers

Jan Kara
2008-05-28T21:57:39Z

fs/jbd2/journal.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
index 2e24567..55de8f7 100644
--- a/fs/jbd2/journal.c
+++ b/fs/jbd2/journal.c
@@ -1261,6 +1261,7 @@ void jbd2_journal_update_superblock(journal_t *journal, int wait)
spin_unlock(&journal->j_state_lock);

BUFFER_TRACE(bh, "marking dirty");
+ set_buffer_uptodate(bh);
mark_buffer_dirty(bh);
if (wait)
sync_dirty_buffer(bh);
--
1.5.2.4