aio: remove an outdated BUG_ON and comment in aio_complete
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Nov 2017 18:53:40 +0000 (19:53 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 2 May 2018 17:52:38 +0000 (19:52 +0200)
commitc213dc826c591cec9e1a458f17ae474af6c8e00c
treee40edd9c2959f8113c2f364b6b3cbf15ca1f0b2d
parent01a658e1e92745255bfcae1977adc2f563a159ac
aio: remove an outdated BUG_ON and comment in aio_complete

These days we don't treat sync iocbs special in the aio completion code as
they never use it.  Remove the old comment and BUG_ON given that the
current definition of is_sync_kiocb makes it impossible to hit.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/aio.c