Skip to content

Commit

Permalink
jbd/jbd2: remove obsolete summarise_journal_usage.
Browse files Browse the repository at this point in the history
summarise_journal_usage seems to be obsolete for a long time,
so remove it.

Cc: Jan Kara <[email protected]>
Signed-off-by: Tao Ma <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
  • Loading branch information
taoma-tm authored and jankara committed May 17, 2011
1 parent 2842bb2 commit 9199e66
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions fs/jbd/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,6 @@ void journal_commit_transaction(journal_t *journal)
* all outstanding updates to complete.
*/

#ifdef COMMIT_STATS
spin_lock(&journal->j_list_lock);
summarise_journal_usage(journal);
spin_unlock(&journal->j_list_lock);
#endif

/* Do we need to erase the effects of a prior journal_flush? */
if (journal->j_flags & JFS_FLUSHED) {
jbd_debug(3, "super block updated\n");
Expand Down
6 changes: 0 additions & 6 deletions fs/jbd2/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,6 @@ void jbd2_journal_commit_transaction(journal_t *journal)
* all outstanding updates to complete.
*/

#ifdef COMMIT_STATS
spin_lock(&journal->j_list_lock);
summarise_journal_usage(journal);
spin_unlock(&journal->j_list_lock);
#endif

/* Do we need to erase the effects of a prior jbd2_journal_flush? */
if (journal->j_flags & JBD2_FLUSHED) {
jbd_debug(3, "super block updated\n");
Expand Down

0 comments on commit 9199e66

Please sign in to comment.