From: Ryan Hope This was item #6 on the todo list for reiser4 inclusion in mainline: Cc: Edward Shishkin Signed-off-by: Andrew Morton --- fs/reiser4/entd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN fs/reiser4/entd.c~reiser4-use-wake_up_process-instead-of-wake_up-when-possible fs/reiser4/entd.c --- a/fs/reiser4/entd.c~reiser4-use-wake_up_process-instead-of-wake_up-when-possible +++ a/fs/reiser4/entd.c @@ -218,7 +218,7 @@ void reiser4_leave_flush(struct super_bl #endif spin_unlock(&ent->guard); if (wake_up_ent) - wake_up(&ent->wait); + wake_up_process(ent->tsk); } #define ENTD_CAPTURE_APAGE_BURST SWAP_CLUSTER_MAX @@ -304,7 +304,7 @@ int write_page_by_ent(struct page *page, ent->nr_todo_reqs++; list_add_tail(&rq.link, &ent->todo_list); if (ent->nr_todo_reqs == 1) - wake_up(&ent->wait); + wake_up_process(ent->tsk); spin_unlock(&ent->guard); _