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/journal.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/journal.c')
-rw-r--r-- | fs/jbd2/journal.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index 8e5486d62e89..f43f97ba002e 100644 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c | |||
@@ -1027,9 +1027,7 @@ static journal_t * journal_init_common (void) | |||
1027 | return NULL; | 1027 | return NULL; |
1028 | 1028 | ||
1029 | init_waitqueue_head(&journal->j_wait_transaction_locked); | 1029 | init_waitqueue_head(&journal->j_wait_transaction_locked); |
1030 | init_waitqueue_head(&journal->j_wait_logspace); | ||
1031 | init_waitqueue_head(&journal->j_wait_done_commit); | 1030 | init_waitqueue_head(&journal->j_wait_done_commit); |
1032 | init_waitqueue_head(&journal->j_wait_checkpoint); | ||
1033 | init_waitqueue_head(&journal->j_wait_commit); | 1031 | init_waitqueue_head(&journal->j_wait_commit); |
1034 | init_waitqueue_head(&journal->j_wait_updates); | 1032 | init_waitqueue_head(&journal->j_wait_updates); |
1035 | mutex_init(&journal->j_barrier); | 1033 | mutex_init(&journal->j_barrier); |