archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <>
To: Al Viro <>
Subject: [PATCH] aio: add missing break for the IOCB_CMD_FDSYNC case
Date: Mon, 28 May 2018 07:19:49 +0200	[thread overview]
Message-ID: <> (raw)

Looks like this got lost in a merge.

Signed-off-by: Christoph Hellwig <>
 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,
 		ret = aio_fsync(&req->fsync, iocb, true);
+		break;
 		ret = aio_poll(req, iocb);

                 reply	other threads:[~2018-05-28  5:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='Re: [PATCH] aio: add missing break for the IOCB_CMD_FDSYNC case' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).