* [PATCH 1/3][reiser4] use wake_up_process() instead of wake_up() when possible
@ 2008-08-11 22:34 Ryan Hope
0 siblings, 0 replies; only message in thread
From: Ryan Hope @ 2008-08-11 22:34 UTC (permalink / raw)
To: LKML, Edward Shishkin, Reiserfs mailing list, Andrew Morton
This was item #6 on the todo list for reiser4 inclusion in mainline:
diff --git a/fs/reiser4/entd.c b/fs/reiser4/entd.c
index ecdfde6..9fd4d6e 100644
--- a/fs/reiser4/entd.c
+++ b/fs/reiser4/entd.c
@@ -218,7 +218,7 @@ void reiser4_leave_flush(struct super_block *super)
#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, struct
writeback_control *wbc)
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);
-Ryan
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-11 22:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-11 22:34 [PATCH 1/3][reiser4] use wake_up_process() instead of wake_up() when possible Ryan Hope
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.