Skip to contentSkip to conversation

aio: add missing break for the IOCB_CMD_FDSYNC case

PATCH New Christoph Hellwig 1 participant 1 message May 28, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 aio: add missing break for the IOCB_CMD_FDSYNC case

Looks like this got lost in a merge.

---
 fs/aio.c | 1 +
 1 file changed, 1 insertion(+)
fs/aio.c +1 -0
index 8274d09d44a2..e0b2f183fa1c 100644
@@ -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;
Signature · 1 line
2.17.0