diff mbox

aio: add missing break for the IOCB_CMD_FDSYNC case

Message ID 20180528051949.25311-1-hch@lst.de (mailing list archive)
State New, archived
Headers show

Commit Message

Christoph Hellwig May 28, 2018, 5:19 a.m. UTC
Looks like this got lost in a merge.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 fs/aio.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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;