Re: [PATCH][next] aio: fix missing break in switch statement

2018-05-31 Thread Christoph Hellwig
On Wed, May 30, 2018 at 07:04:15PM +0100, Colin King wrote: > From: Colin Ian King > > The addition of the IOCB_CMD_POLL command removed the break > statement for the IOCM_CMD_FDSYNC. From my understanding, this > should not have been removed as the fall-through does not seem > to make sense. Fi

Re: [PATCH][next] aio: fix missing break in switch statement

2018-05-30 Thread Darrick J. Wong
On Wed, May 30, 2018 at 07:04:15PM +0100, Colin King wrote: > From: Colin Ian King > > The addition of the IOCB_CMD_POLL command removed the break > statement for the IOCM_CMD_FDSYNC. From my understanding, this > should not have been removed as the fall-through does not seem > to make sense. Fi

[PATCH][next] aio: fix missing break in switch statement

2018-05-30 Thread Colin King
From: Colin Ian King The addition of the IOCB_CMD_POLL command removed the break statement for the IOCM_CMD_FDSYNC. From my understanding, this should not have been removed as the fall-through does not seem to make sense. Fix this by adding the break back again. Detected by CoverityScan, CID#14