• C
    aio: simplify KIOCB_KEY handling · f3a2752a
    Christoph Hellwig 提交于
    No need to pass the key field to lookup_iocb to compare it with KIOCB_KEY,
    as we can do that right after retrieving it from userspace.  Also move the
    KIOCB_KEY definition to aio.c as it is an internal value not used by any
    other place in the kernel.
    Signed-off-by: NChristoph Hellwig <hch@lst.de>
    f3a2752a
aio.c 50.7 KB