From: Kent Overstreet Date: Mon, 27 Nov 2023 06:42:42 +0000 (-0500) Subject: bcachefs: kill journal->preres_wait X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8ab3fa96396955bc7a0669f81007e2dbfe1e7da0;p=linux.git bcachefs: kill journal->preres_wait Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/journal.h b/fs/bcachefs/journal.h index 2f768e11aec9a..a1384433d1930 100644 --- a/fs/bcachefs/journal.h +++ b/fs/bcachefs/journal.h @@ -119,7 +119,6 @@ static inline void journal_wake(struct journal *j) { wake_up(&j->wait); closure_wake_up(&j->async_wait); - closure_wake_up(&j->preres_wait); } static inline struct journal_buf *journal_cur_buf(struct journal *j) diff --git a/fs/bcachefs/journal_types.h b/fs/bcachefs/journal_types.h index 2427cce64fed9..4ffae252e01ed 100644 --- a/fs/bcachefs/journal_types.h +++ b/fs/bcachefs/journal_types.h @@ -195,7 +195,6 @@ struct journal { /* Used when waiting because the journal was full */ wait_queue_head_t wait; struct closure_waitlist async_wait; - struct closure_waitlist preres_wait; struct closure io; struct delayed_work write_work;