[Ocfs2-devel] I regenerate the patch for bug 45 against kernel 2.6.4

Sonic Zhang sonic.zhang at intel.com
Fri Mar 19 10:52:13 CST 2004


See bellow.
Please check if it works.

---------------------------------------------------------------------------

--- linux-2.6.4a/fs/jbd/journal.c    2004-03-19 10:40:49.264613984 +0800
+++ linux-2.6.4/fs/jbd/journal.c    2004-03-19 10:41:12.091143824 +0800
@@ -832,10 +832,10 @@
         bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize);
         lock_buffer(bh);
         memset (bh->b_data, 0, journal->j_blocksize);
-        BUFFER_TRACE(bh, "marking dirty");
-        mark_buffer_dirty(bh);
         BUFFER_TRACE(bh, "marking uptodate");
         set_buffer_uptodate(bh);
+        BUFFER_TRACE(bh, "marking dirty");
+        mark_buffer_dirty(bh);
         unlock_buffer(bh);
         __brelse(bh);
     }





More information about the Ocfs2-devel mailing list