From: Cyril H. <su...@li...> - 2011-02-07 15:36:29
|
The branch, master, has been updated via b06703f6e5101ca716fe94a11538510920f19f27 (commit) from a862f9da32613e05eff017444d7fb1bbe4ecb974 (commit) - Log ----------------------------------------------------------------- commit b06703f6e5101ca716fe94a11538510920f19f27 Author: Cyril Hrubis <ch...@su...> Date: Mon Feb 7 17:58:48 2011 +0100 This kind of reverts commit: 9ab64b8c3151b439fda4fd8ca0a8f6f012cd7458 The io_contex_t is defined as a pointer to io_context in libaio.h, which is passed to syscall and filled with user_id in kernel. The type of user_id in kernel sure is unsigned long, but the libaio expects that they work with struct io_context *. Anyway we go back to the io_context_t as the test won't compile with aio_context_t. The problem is that libaio is broken for some time and nobody noticed, I'll contact libaio developers about it. Signed-off-by: Cyril Hrubis <ch...@su...> ----------------------------------------------------------------------- Summary of changes: testcases/kernel/syscalls/io_cancel/io_cancel01.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/kernel/syscalls/io_cancel/io_cancel01.c b/testcases/kernel/syscalls/io_cancel/io_cancel01.c index f98c73f..1c84d60 100644 --- a/testcases/kernel/syscalls/io_cancel/io_cancel01.c +++ b/testcases/kernel/syscalls/io_cancel/io_cancel01.c @@ -53,7 +53,7 @@ int main(int argc, char **argv) int lc; /* loop counter */ char *msg; /* parse_opts() return message */ - aio_context_t ctx = 0; + io_context_t ctx = 0; long expected_return; if ((msg = parse_opts(argc, argv, NULL, NULL)) != NULL) hooks/post-receive -- ltp |