]> www.infradead.org Git - users/hch/block.git/commitdiff
io_uring: documentation fixup
authorDylan Yudaken <dylany@fb.com>
Thu, 24 Feb 2022 10:51:57 +0000 (02:51 -0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Feb 2022 14:05:05 +0000 (07:05 -0700)
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>
fs/io_uring.c

index e796d40ee8e9b1198e2ffeb7b76a5d59ae070ea0..8f26c4602384a06362b4f5727735f86605b5636b 100644 (file)
@@ -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 {