diff options
author | Jan Kara <jack@suse.cz> | 2013-06-04 12:24:11 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-06-04 12:24:11 -0400 |
commit | f29fad72105287e6899d9128a9d494514f220e77 (patch) | |
tree | 88f44b9e77ed9138832df02b6bb4c783e87ca246 /fs/jbd2/checkpoint.c | |
parent | fe1e8db598b259eafdffbe3dd5fe849cd2ad97d5 (diff) |
jbd2: remove unused waitqueues
j_wait_logspace and j_wait_checkpoint are unused. Remove them.
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/checkpoint.c')
-rw-r--r-- | fs/jbd2/checkpoint.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/jbd2/checkpoint.c b/fs/jbd2/checkpoint.c index a572383bcf99..75a15f371b00 100644 --- a/fs/jbd2/checkpoint.c +++ b/fs/jbd2/checkpoint.c | |||
@@ -625,10 +625,6 @@ int __jbd2_journal_remove_checkpoint(struct journal_head *jh) | |||
625 | 625 | ||
626 | __jbd2_journal_drop_transaction(journal, transaction); | 626 | __jbd2_journal_drop_transaction(journal, transaction); |
627 | jbd2_journal_free_transaction(transaction); | 627 | jbd2_journal_free_transaction(transaction); |
628 | |||
629 | /* Just in case anybody was waiting for more transactions to be | ||
630 | checkpointed... */ | ||
631 | wake_up(&journal->j_wait_logspace); | ||
632 | ret = 1; | 628 | ret = 1; |
633 | out: | 629 | out: |
634 | return ret; | 630 | return ret; |