Re: [PATCH][next] aio: fix missing break in switch statement
From: Christoph Hellwig
Date: Thu May 31 2018 - 12:32:54 EST
On Wed, May 30, 2018 at 07:04:15PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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#1469469 ("Missing break in switch")
Thanks. I've actually send a fix to Al for this a few days ago
already.