Skip to contentSkip to conversation

I regenerate the patch for bug 45 against kernel 2.6.4

Ocfs2-devel Sonic Zhang 2 participants 2 messages Mar 18, 2004 – Mar 24, 2004 OCFS2

lore
Share & tools
lore
#0 lore raw

See bellow.
Please check if it works.

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

fs/jbd/journal.c 2004-03-19 10:41:12.091143824 +0800 renamed from fs/jbd/journal.c 2004-03-19 10:40:49.264613984 +0800 +2 -2
@@ -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);
     }
#1 lore raw
Quoted 2 lines · Sonic Zhang

See bellow.
Please check if it works.

Sorry for the delay, but I finally got a chance to try patching this against a 2.6.4 kernel and it works fine, so I added it in the patches/ directory.

	--Mark

--
Mark Fasheh
Software Developer, Oracle Corp
[email protected]