Blob Blame History Raw
From 63c36549737e8132e89ec6563d26523895ae3121 Mon Sep 17 00:00:00 2001
From: Dylan Yudaken <dylany@fb.com>
Date: Thu, 24 Feb 2022 02:51:57 -0800
Subject: [PATCH] io_uring: documentation fixup
Git-commit: 63c36549737e8132e89ec6563d26523895ae3121
Patch-mainline: v5.18-rc1
References: bsc#1205205

Fix incorrect name reference in comment. ki_filp does not exist in the
struct, but file does.

Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220224105157.1332353-1-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
---
 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 c9efb1d32fd2..f8fd3b2bb30d 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -830,7 +830,7 @@ enum {
  * NOTE! Each of the iocb union members has the file pointer
  * as the first entry in their struct definition. So you can
  * access the file pointer through any of the sub-structs,
- * or directly as just 'ki_filp' in this struct.
+ * or directly as just 'file' in this struct.
  */
 struct io_kiocb {
 	union {
-- 
2.35.3