diff options
| -rw-r--r-- | fs/jbd/commit.c | 6 | ||||
| -rw-r--r-- | fs/jbd2/commit.c | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/fs/jbd/commit.c b/fs/jbd/commit.c index f486ff69778..72ffa974b0b 100644 --- a/fs/jbd/commit.c +++ b/fs/jbd/commit.c | |||
| @@ -302,12 +302,6 @@ void journal_commit_transaction(journal_t *journal) | |||
| 302 | * all outstanding updates to complete. | 302 | * all outstanding updates to complete. |
| 303 | */ | 303 | */ |
| 304 | 304 | ||
| 305 | #ifdef COMMIT_STATS | ||
| 306 | spin_lock(&journal->j_list_lock); | ||
| 307 | summarise_journal_usage(journal); | ||
| 308 | spin_unlock(&journal->j_list_lock); | ||
| 309 | #endif | ||
| 310 | |||
| 311 | /* Do we need to erase the effects of a prior journal_flush? */ | 305 | /* Do we need to erase the effects of a prior journal_flush? */ |
| 312 | if (journal->j_flags & JFS_FLUSHED) { | 306 | if (journal->j_flags & JFS_FLUSHED) { |
| 313 | jbd_debug(3, "super block updated\n"); | 307 | jbd_debug(3, "super block updated\n"); |
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index 6e28000a4b2..29148a81c78 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c | |||
| @@ -338,12 +338,6 @@ void jbd2_journal_commit_transaction(journal_t *journal) | |||
| 338 | * all outstanding updates to complete. | 338 | * all outstanding updates to complete. |
| 339 | */ | 339 | */ |
| 340 | 340 | ||
| 341 | #ifdef COMMIT_STATS | ||
| 342 | spin_lock(&journal->j_list_lock); | ||
| 343 | summarise_journal_usage(journal); | ||
| 344 | spin_unlock(&journal->j_list_lock); | ||
| 345 | #endif | ||
| 346 | |||
| 347 | /* Do we need to erase the effects of a prior jbd2_journal_flush? */ | 341 | /* Do we need to erase the effects of a prior jbd2_journal_flush? */ |
| 348 | if (journal->j_flags & JBD2_FLUSHED) { | 342 | if (journal->j_flags & JBD2_FLUSHED) { |
| 349 | jbd_debug(3, "super block updated\n"); | 343 | jbd_debug(3, "super block updated\n"); |
