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>
This commit is contained in:
parent
2842bb20ee
commit
9199e66528
@ -302,12 +302,6 @@ void journal_commit_transaction(journal_t *journal)
|
|||||||
* all outstanding updates to complete.
|
* 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? */
|
/* Do we need to erase the effects of a prior journal_flush? */
|
||||||
if (journal->j_flags & JFS_FLUSHED) {
|
if (journal->j_flags & JFS_FLUSHED) {
|
||||||
jbd_debug(3, "super block updated\n");
|
jbd_debug(3, "super block updated\n");
|
||||||
|
@ -338,12 +338,6 @@ void jbd2_journal_commit_transaction(journal_t *journal)
|
|||||||
* all outstanding updates to complete.
|
* 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? */
|
/* Do we need to erase the effects of a prior jbd2_journal_flush? */
|
||||||
if (journal->j_flags & JBD2_FLUSHED) {
|
if (journal->j_flags & JBD2_FLUSHED) {
|
||||||
jbd_debug(3, "super block updated\n");
|
jbd_debug(3, "super block updated\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user