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>
Mon, 22 Apr 2013 01:29:58 +0000 (19:29 -0600)
commita57423b03e2ee348970233e366c9af30d29650e3
tree8c9f33a6816aae73e4af7287a842de8cdefe7482
parent9bde77284ad2d342c63c84599fa8c11a086f02b9
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