Whamcloud - gitweb
LU-73 RHEL6 support.
[fs/lustre-release.git] / lustre / kernel_patches / patches / jbd2-commit-timer-no-jiffies-rounding-rhel6.patch
1 Index: linux-2.6.32-71.18.1.el6-master/fs/jbd2/transaction.c
2 ===================================================================
3 --- linux-2.6.32-71.18.1.el6-master.orig/fs/jbd2/transaction.c  2011-03-18 10:05:45.000000000 +0800
4 +++ linux-2.6.32-71.18.1.el6-master/fs/jbd2/transaction.c       2011-03-18 10:06:19.001935306 +0800
5 @@ -59,7 +59,7 @@
6         INIT_LIST_HEAD(&transaction->t_private_list);
7  
8         /* Set up the commit timer for the new transaction. */
9 -       journal->j_commit_timer.expires = round_jiffies_up(transaction->t_expires);
10 +       journal->j_commit_timer.expires = transaction->t_expires;
11         add_timer(&journal->j_commit_timer);
12  
13         J_ASSERT(journal->j_running_transaction == NULL);