aio: make ->ki_cancel() optional
authorJens Axboe <axboe@kernel.dk>
Fri, 14 Dec 2012 10:44:46 +0000 (11:44 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 14 Dec 2012 12:28:08 +0000 (13:28 +0100)
commitd3bb31cf59bcd3b79a163b2cc6d823fcf1d7c5b5
tree143bd27373a434fd4849a84cd2aab5a6c56b35c7
parent3daa3fbeb4a4355042f4d794e9f4365d2391e206
aio: make ->ki_cancel() optional

We do locking around various places just for handling cancel,
when the only real user of it is the USB gadget code. So prepare
for making cancel optional.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/usb/gadget/inode.c
fs/aio.c
include/linux/aio.h