diff options
author | Tao Ma <boyu.mt@taobao.com> | 2011-05-05 23:54:19 +0800 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2011-05-17 13:47:42 +0200 |
commit | 9199e66528f61a06abe09f0589bbe1eecaa301a7 (patch) | |
tree | 9638e08371e859fcf38d6bc407859f09a0164a30 /fs | |
parent | 2842bb20eed2e25cde5114298edc62c8883a1d9a (diff) | |
download | linux-9199e66528f61a06abe09f0589bbe1eecaa301a7.tar.gz linux-9199e66528f61a06abe09f0589bbe1eecaa301a7.tar.bz2 linux-9199e66528f61a06abe09f0589bbe1eecaa301a7.zip |
jbd/jbd2: remove obsolete summarise_journal_usage.
summarise_journal_usage seems to be obsolete for a long time,
so remove it.
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs')
-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 f486ff697781..72ffa974b0b8 100644 --- a/fs/jbd/commit.c +++ b/fs/jbd/commit.c @@ -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"); diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index 6e28000a4b21..29148a81c783 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c @@ -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"); |