summaryrefslogtreecommitdiff
path: root/fs/aio.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-28 07:19:49 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2018-05-28 13:40:50 -0400
commitac060cbaa84999eb18e1045775d8fe7662d76476 (patch)
tree207646979a477d77ba83cf4b36eb171054d39a29 /fs/aio.c
parent89b310a2b28dafbf3958e292785d51b7017da19e (diff)
aio: add missing break for the IOCB_CMD_FDSYNC case
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>
Diffstat (limited to 'fs/aio.c')
-rw-r--r--fs/aio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/aio.c b/fs/aio.c
index 8274d09d44a2..e0b2f183fa1c 100644
--- 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;