Skip to content

Commit 6c14627

Browse files
Kemeng Shitytso
authored andcommitted
jbd2: remove stale comment of update_t_max_wait
Commit 2d44292 ("jbd2: remove CONFIG_JBD2_DEBUG to update t_max_wait") removed jbd2_journal_enable_debug, just remove stale comment about jbd2_journal_enable_debug. Signed-off-by: Kemeng Shi <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
1 parent 0d26708 commit 6c14627

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

fs/jbd2/transaction.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,9 @@ static void jbd2_get_transaction(journal_t *journal,
113113
*/
114114

115115
/*
116-
* Update transaction's maximum wait time, if debugging is enabled.
117-
*
118116
* t_max_wait is carefully updated here with use of atomic compare exchange.
119117
* Note that there could be multiplre threads trying to do this simultaneously
120118
* hence using cmpxchg to avoid any use of locks in this case.
121-
* With this t_max_wait can be updated w/o enabling jbd2_journal_enable_debug.
122119
*/
123120
static inline void update_t_max_wait(transaction_t *transaction,
124121
unsigned long ts)

0 commit comments

Comments
 (0)