]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/io_uring.c
Merge tag 's390-5.2-4' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[linux.git] / fs / io_uring.c
index 310f8d17c53ec2724f29ef89869fb88e06278985..0fbb486a320e927bb47aa1ac63fcea6ef6284760 100644 (file)
@@ -2616,7 +2616,7 @@ static int io_sqe_buffer_register(struct io_ring_ctx *ctx, void __user *arg,
 
                ret = io_copy_iov(ctx, &iov, arg, i);
                if (ret)
-                       break;
+                       goto err;
 
                /*
                 * Don't impose further limits on the size and buffer