]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9317f637dccee7be306868697796c3e49e9de17
treee40edd9c2959f8113c2f364b6b3cbf15ca1f0b2d
parent2838babaa5eaa33c768a69dc500c6facb7b157d8
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