Skip to content

Commit b57c7cd

Browse files
Christoph Hellwigaxboe
authored andcommitted
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>
1 parent 53cfd5c commit b57c7cd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

io_uring/io_uring.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,11 +1766,6 @@ static void io_iopoll_req_issued(struct io_kiocb *req, unsigned int issue_flags)
17661766
}
17671767
}
17681768

1769-
/*
1770-
* If we tracked the file through the SCM inflight mechanism, we could support
1771-
* any file. For now, just ensure that anything potentially problematic is done
1772-
* inline.
1773-
*/
17741769
unsigned int io_file_get_flags(struct file *file)
17751770
{
17761771
unsigned int res = 0;

0 commit comments

Comments
 (0)