X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fkernel_patches%2Fpatches%2Fjbd-journal-chksum-2.6.18-vanilla.patch;h=3c20f0c1ce4a5f709dd3f8084e72a1ee5bf96aa1;hb=20a6f2df5afc45a764c6ffc842e33046531f9e5e;hp=2dca1c13b9599517372f8b04f1e8ca429d4ada34;hpb=063cfd79a06bf270ceeeb5f33e83d71a6687d4a0;p=fs%2Flustre-release.git diff --git a/lustre/kernel_patches/patches/jbd-journal-chksum-2.6.18-vanilla.patch b/lustre/kernel_patches/patches/jbd-journal-chksum-2.6.18-vanilla.patch index 2dca1c1..3c20f0c 100644 --- a/lustre/kernel_patches/patches/jbd-journal-chksum-2.6.18-vanilla.patch +++ b/lustre/kernel_patches/patches/jbd-journal-chksum-2.6.18-vanilla.patch @@ -38,7 +38,7 @@ Index: linux-2.6.18.8/fs/jbd/commit.c int barrier_done = 0; if (is_journal_aborted(journal)) -@@ -119,21 +124,35 @@ static int journal_write_commit_record(j +@@ -119,21 +124,34 @@ static int journal_write_commit_record(j bh = jh2bh(descriptor); @@ -63,7 +63,6 @@ Index: linux-2.6.18.8/fs/jbd/commit.c - JBUFFER_TRACE(descriptor, "write commit block"); + JBUFFER_TRACE(descriptor, "submit commit block"); + lock_buffer(bh); -+ get_bh(bh); + set_buffer_dirty(bh); - if (journal->j_flags & JFS_BARRIER) {