io_cancel() and aio_cancel_all() have inconsistent reference counting (ki_users field of struct kiocb) which leads to unkillable processes upon io_cancel() or io_destroy() syscalls. This patch fixes the undesired behavior. Regards, Sergey Temerkhanov, Cifronic ZAO