Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / kernel_patches / patches / jbd-journal-chksum-2.6.18-vanilla.patch
index c224061..2dca1c1 100644 (file)
@@ -188,7 +188,7 @@ Index: linux-2.6.18.8/fs/jbd/commit.c
  
        /*
         * First job: lock down the current transaction and wait for
-@@ -439,38 +532,14 @@ void journal_commit_transaction(journal_
+@@ -439,39 +532,14 @@ void journal_commit_transaction(journal_
        journal_submit_data_buffers(journal, commit_transaction);
  
        /*
@@ -206,10 +206,11 @@ Index: linux-2.6.18.8/fs/jbd/commit.c
 -              if (buffer_locked(bh)) {
 -                      spin_unlock(&journal->j_list_lock);
 -                      wait_on_buffer(bh);
--                      if (unlikely(!buffer_uptodate(bh)))
--                              err = -EIO;
 -                      spin_lock(&journal->j_list_lock);
 -              }
+-              if (unlikely(!buffer_uptodate(bh)))
+-                      err = -EIO;
+-
 -              if (!inverted_lock(journal, bh)) {
 -                      put_bh(bh);
 -                      spin_lock(&journal->j_list_lock);