]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] aio: make wait_queue ->task ->private
authorBenjamin LaHaise <bcrl@kvack.org>
Thu, 23 Jun 2005 07:10:27 +0000 (00:10 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:34 +0000 (09:45 -0700)
commiteb07db5374d149e3f46103b20a81849e5db71734
tree98b723badf4a71c9dbf04cfd0babcb02ac577982
parent12fbf141ddb043126f74a7bbdf4a1bf5841b78dd
[PATCH] aio: make wait_queue ->task ->private

In the upcoming aio_down patch, it is useful to store a private data
pointer in the kiocb's wait_queue.  Since we provide our own wake up
function and do not require the task_struct pointer, it makes sense to
convert the task pointer into a generic private pointer.

Signed-off-by: Benjamin LaHaise <benjamin.c.lahaise@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/wait.h
kernel/sched.c