Whamcloud - gitweb
b=22850 fix minor nit in the patch
[fs/lustre-release.git] / lustre / kernel_patches / patches / jbd-commit-timer-no-jiffies-rounding.diff
1 Index: linux-2.6/fs/jbd/transaction.c
2 ===================================================================
3 --- linux-2.6.orig/fs/jbd/transaction.c 2009-06-10 20:07:51.000000000 +0400
4 +++ linux-2.6/fs/jbd/transaction.c      2009-06-10 20:08:03.000000000 +0400
5 @@ -56,7 +56,7 @@ get_transaction(journal_t *journal, tran
6         spin_lock_init(&transaction->t_handle_lock);
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);