Re: [PATCH 6/8] move dropping ->ki_eventfd into iocb_destroy()

2019-03-11 Thread Christoph Hellwig
On Sun, Mar 10, 2019 at 07:08:20AM +, Al Viro wrote: > From: Al Viro > > Signed-off-by: Al Viro Looks sensible, but a changelog would be nice. > if (iocb->aio_flags & IOCB_FLAG_RESFD) { > + struct eventfd_ctx *eventfd; > /* >* If the IOCB_FLA

[PATCH 6/8] move dropping ->ki_eventfd into iocb_destroy()

2019-03-09 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- fs/aio.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/fs/aio.c b/fs/aio.c index f9e8f1edfe36..595c19965a8b 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -1071,6 +1071,8 @@ static struct kioctx *lookup_ioctx(unsigned lon