--- 25-akpm/fs/jbd/transaction.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN fs/jbd/transaction.c~filtered-buffer_head-wakeups-tweaks fs/jbd/transaction.c --- 25/fs/jbd/transaction.c~filtered-buffer_head-wakeups-tweaks 2004-05-04 23:58:14.719170368 -0700 +++ 25-akpm/fs/jbd/transaction.c 2004-05-04 23:58:24.840631672 -0700 @@ -637,8 +637,8 @@ repeat: JBUFFER_TRACE(jh, "on shadow: sleep"); jbd_unlock_bh_state(bh); /* commit wakes up all shadow buffers after IO */ - wqh = bh_waitq_head(jh2bh(jh)); - wait_event_filtered(*wqh, jh2bh(jh), (jh->b_jlist != BJ_Shadow)); + wqh = bh_waitq_head(bh); + wait_event_filtered(*wqh, bh, jh->b_jlist != BJ_Shadow); goto repeat; } _