Re: [PATCH 2/9] aio: remove an outdated comment in aio_complete

2018-03-21 Thread Christoph Hellwig
On Wed, Mar 21, 2018 at 10:14:20AM +0100, Greg KH wrote: > > diff --git a/fs/aio.c b/fs/aio.c > > index 03d59593912d..41fc8ce6bc7f 100644 > > --- a/fs/aio.c > > +++ b/fs/aio.c > > @@ -1088,6 +1088,8 @@ static void aio_complete(struct kiocb *kiocb, long > > res, long res2) > > unsigned tail, po

Re: [PATCH 2/9] aio: remove an outdated comment in aio_complete

2018-03-21 Thread Greg KH
On Wed, Mar 21, 2018 at 08:32:25AM +0100, Christoph Hellwig wrote: > These days we don't treat sync iocbs special in the aio completion code as > they never use it. Remove the old comment, and move the BUG_ON for a sync > iocb to the top of the function. > > Signed-off-by: Christoph Hellwig > Ac