[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-ext4
Subject: [PATCH 02/19] jbd2: Fixup stale comment in commit code
From: Jan Kara <jack () suse ! cz>
Date: 2019-09-30 10:43:20
Message-ID: 20190930104339.24919-2-jack () suse ! cz
[Download RAW message or body]
jbd2_journal_next_log_block() does not look at
transaction->t_outstanding_credits. Remove the misleading comment.
Signed-off-by: Jan Kara <jack@suse.cz>
---
fs/jbd2/commit.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c
index 132fb92098c7..c6d39f2ad828 100644
--- a/fs/jbd2/commit.c
+++ b/fs/jbd2/commit.c
@@ -642,8 +642,7 @@ void jbd2_journal_commit_transaction(journal_t *journal)
/*
* start_this_handle() uses t_outstanding_credits to determine
- * the free space in the log, but this counter is changed
- * by jbd2_journal_next_log_block() also.
+ * the free space in the log.
*/
atomic_dec(&commit_transaction->t_outstanding_credits);
--
2.16.4
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic