aio: add missing break for the IOCB_CMD_FDSYNC case
authorChristoph Hellwig <hch@lst.de>
Mon, 28 May 2018 05:19:49 +0000 (07:19 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 28 May 2018 17:40:50 +0000 (13:40 -0400)
Looks like this got lost in a merge.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/aio.c

index 8274d09..e0b2f18 100644 (file)
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -1785,6 +1785,7 @@ static int io_submit_one(struct kioctx *ctx, struct iocb __user *user_iocb,
                break;
        case IOCB_CMD_FDSYNC:
                ret = aio_fsync(&req->fsync, iocb, true);
+               break;
        case IOCB_CMD_POLL:
                ret = aio_poll(req, iocb);
                break;