Commit 8ab3fa96 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: kill journal->preres_wait

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 56db2429
...@@ -119,7 +119,6 @@ static inline void journal_wake(struct journal *j) ...@@ -119,7 +119,6 @@ static inline void journal_wake(struct journal *j)
{ {
wake_up(&j->wait); wake_up(&j->wait);
closure_wake_up(&j->async_wait); closure_wake_up(&j->async_wait);
closure_wake_up(&j->preres_wait);
} }
static inline struct journal_buf *journal_cur_buf(struct journal *j) static inline struct journal_buf *journal_cur_buf(struct journal *j)
......
...@@ -195,7 +195,6 @@ struct journal { ...@@ -195,7 +195,6 @@ struct journal {
/* Used when waiting because the journal was full */ /* Used when waiting because the journal was full */
wait_queue_head_t wait; wait_queue_head_t wait;
struct closure_waitlist async_wait; struct closure_waitlist async_wait;
struct closure_waitlist preres_wait;
struct closure io; struct closure io;
struct delayed_work write_work; struct delayed_work write_work;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment