Re: [PATCH 29/32] aio: delete iocbs from the active_reqs list in kiocb_cancel

2018-01-10 Thread Jeff Moyer
Christoph Hellwig writes: > One we cancel an iocb there is no reason to keep it on the active_reqs > list, given that the list is only used to look for cancelation candidates. > > Signed-off-by: Christoph Hellwig Acked-by: Jeff Moyer

[PATCH 29/32] aio: delete iocbs from the active_reqs list in kiocb_cancel

2018-01-10 Thread Christoph Hellwig
One we cancel an iocb there is no reason to keep it on the active_reqs list, given that the list is only used to look for cancelation candidates. Signed-off-by: Christoph Hellwig --- fs/aio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/aio.c b/fs/aio.c index 6204c1