projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00f6e68
)
io_uring: remove redundant tab space
author
GuoYong Zheng
<zhenggy@chinatelecom.cn>
Wed, 5 Jan 2022 10:13:05 +0000
(18:13 +0800)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 5 Jan 2022 19:31:37 +0000
(12:31 -0700)
When show fdinfo, SqMask follow two tab space, which is inconsistent with
other parameters. Remove one, so it lines up nicely.
Signed-off-by: GuoYong Zheng <zhenggy@chinatelecom.cn>
Link:
https://lore.kernel.org/r/1641377585-1891-1-git-send-email-zhenggy@chinatelecom.cn
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
patch
|
blob
|
history
diff --git
a/fs/io_uring.c
b/fs/io_uring.c
index 73742dacc8ae203082fc583e60f2f50eab37337c..aed1625a26e12bc75d9654feb652f3d223aa6564 100644
(file)
--- a/
fs/io_uring.c
+++ b/
fs/io_uring.c
@@
-10151,7
+10151,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
\t
0x%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);