2021-02-09 02:47:21

by Chunxin Zang

[permalink] [raw]
Subject: [PATCH] fs/io_uring.c: fix typo in comment

From: Chunxin Zang <[email protected]>

Change "sane" to "same" in a comment in io_uring.c

Signed-off-by: Chunxin Zang <[email protected]>
---
fs/io_uring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/io_uring.c b/fs/io_uring.c
index 1f68105a41ed..da86440130f9 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -9519,7 +9519,7 @@ static int io_allocate_scq_urings(struct io_ring_ctx *ctx,
struct io_rings *rings;
size_t size, sq_array_offset;

- /* make sure these are sane, as we already accounted them */
+ /* make sure these are same, as we already accounted them */
ctx->sq_entries = p->sq_entries;
ctx->cq_entries = p->cq_entries;

--
2.11.0


2021-02-09 14:40:55

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] fs/io_uring.c: fix typo in comment

On 2/8/21 7:42 PM, [email protected] wrote:
> From: Chunxin Zang <[email protected]>
>
> Change "sane" to "same" in a comment in io_uring.c

It's supposed to say 'sane'.

--
Jens Axboe