forked from luck/tmp_suning_uos_patched
jbd2: Fixup stale comment in commit code
jbd2_journal_next_log_block() does not look at transaction->t_outstanding_credits. Remove the misleading comment. Reviewed-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20191105164437.32602-2-jack@suse.cz Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
add3efdd78
commit
0db4588945
|
@ -642,8 +642,7 @@ void jbd2_journal_commit_transaction(journal_t *journal)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* start_this_handle() uses t_outstanding_credits to determine
|
* start_this_handle() uses t_outstanding_credits to determine
|
||||||
* the free space in the log, but this counter is changed
|
* the free space in the log.
|
||||||
* by jbd2_journal_next_log_block() also.
|
|
||||||
*/
|
*/
|
||||||
atomic_dec(&commit_transaction->t_outstanding_credits);
|
atomic_dec(&commit_transaction->t_outstanding_credits);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user