Commit d52a8f9e authored by Fabian Frederick's avatar Fabian Frederick Committed by Benjamin LaHaise
Browse files

fs/aio.c: Remove ctx parameter in kiocb_cancel

ctx is no longer used in kiocb_cancel since


 ("aio: Kill ki_users")

Cc: Alexander Viro <>
Cc: Andrew Morton <>
Signed-off-by: default avatarFabian Frederick <>
Signed-off-by: default avatarBenjamin LaHaise <>
parent e02ba72a
......@@ -477,7 +477,7 @@ void kiocb_set_cancel_fn(struct kiocb *req, kiocb_cancel_fn *cancel)
static int kiocb_cancel(struct kioctx *ctx, struct kiocb *kiocb)
static int kiocb_cancel(struct kiocb *kiocb)
kiocb_cancel_fn *old, *cancel;
......@@ -538,7 +538,7 @@ static void free_ioctx_users(struct percpu_ref *ref)
struct kiocb, ki_list);
kiocb_cancel(ctx, req);
......@@ -1587,7 +1587,7 @@ SYSCALL_DEFINE3(io_cancel, aio_context_t, ctx_id, struct iocb __user *, iocb,
kiocb = lookup_kiocb(ctx, iocb, key);
if (kiocb)
ret = kiocb_cancel(ctx, kiocb);
ret = kiocb_cancel(kiocb);
ret = -EINVAL;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment