[PATCH] io_uring: remove redundant tap space

GuoYong Zheng posted 1 patch 4 years, 5 months ago
fs/io_uring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] io_uring: remove redundant tap space
Posted by GuoYong Zheng 4 years, 5 months ago
When show fdinfo, SqMask follow two tap space, Inconsistent with
other paras, remove one.

Signed-off-by: GuoYong Zheng <zhenggy@chinatelecom.cn>
---
 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 e6fb1bb..78a6181 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -10553,7 +10553,7 @@ static __cold void __io_uring_show_fdinfo(struct io_ring_ctx *ctx,
 	 * and sq_tail and cq_head are changed by userspace. But it's ok since
 	 * we usually use these info when it is stuck.
 	 */
-	seq_printf(m, "SqMask:\t\t0x%x\n", sq_mask);
+	seq_printf(m, "SqMask:\t0x%x\n", sq_mask);
 	seq_printf(m, "SqHead:\t%u\n", sq_head);
 	seq_printf(m, "SqTail:\t%u\n", sq_tail);
 	seq_printf(m, "CachedSqHead:\t%u\n", ctx->cached_sq_head);
-- 
1.8.3.1

Re: [PATCH] io_uring: remove redundant tap space
Posted by Jens Axboe 4 years, 5 months ago
On Wed, 5 Jan 2022 18:13:05 +0800, GuoYong Zheng wrote:
> When show fdinfo, SqMask follow two tap space, Inconsistent with
> other paras, remove one.
> 
> 

Applied, thanks!

[1/1] io_uring: remove redundant tap space
      commit: c0235652ee5194fc75926daa580817e63ceb37ab

Best regards,
-- 
Jens Axboe