aboutsummaryrefslogtreecommitdiffstats
path: root/io_uring/io_uring.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-06-20 13:32:30 +0200
committerJens Axboe <axboe@kernel.dk>2023-06-20 09:36:22 -0600
commitb57c7cd1c17616ae9db5614525ba703f384afd05 (patch)
treee5a695609693f8f5bf5a9e1a4ada60e20ca2e381 /io_uring/io_uring.c
parent53cfd5cea7f36bac7f3d45de4fea77e0c8d57aee (diff)
downloadlinux-b57c7cd1c17616ae9db5614525ba703f384afd05.tar.gz
io_uring: remove a confusing comment above io_file_get_flags
The SCM inflight mechanism has nothing to do with the fact that a file might be a regular file or not and if it supports non-blocking operations. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20230620113235.920399-4-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.c')
-rw-r--r--io_uring/io_uring.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c
index 2d13f636de93c..79f3cabec5b93 100644
--- a/io_uring/io_uring.c
+++ b/io_uring/io_uring.c
@@ -1766,11 +1766,6 @@ static void io_iopoll_req_issued(struct io_kiocb *req, unsigned int issue_flags)
}
}
-/*
- * If we tracked the file through the SCM inflight mechanism, we could support
- * any file. For now, just ensure that anything potentially problematic is done
- * inline.
- */
unsigned int io_file_get_flags(struct file *file)
{
unsigned int res = 0;