Whamcloud - gitweb
LU-4008 mdt: update mdt_getattr comments about EA sizing
[fs/lustre-release.git] / lustre / kernel_patches / patches / jbd2-commit-timer-no-jiffies-rounding.diff
1 Index: linux-2.6.27.21-0.1/fs/jbd2/transaction.c
2 ===================================================================
3 --- linux-2.6.27.21-0.1.orig/fs/jbd2/transaction.c      2009-06-10 11:11:41.000000000 -0600
4 +++ linux-2.6.27.21-0.1/fs/jbd2/transaction.c   2009-06-10 11:12:32.000000000 -0600
5 @@ -54,7 +54,7 @@
6         INIT_LIST_HEAD(&transaction->t_inode_list);
7  
8         /* Set up the commit timer for the new transaction. */
9 -       journal->j_commit_timer.expires = round_jiffies(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);