* [PATCH] aio: add missing break for the IOCB_CMD_FDSYNC case
@ 2018-05-28 5:19 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2018-05-28 5:19 UTC (permalink / raw)
To: Al Viro; +Cc: linux-fsdevel
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 --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;
--
2.17.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-05-28 5:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-28 5:19 [PATCH] aio: add missing break for the IOCB_CMD_FDSYNC case Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).