Revert "io_uring: gate REQ_F_ISREG on !S_ANON_INODE as well" io_uring-6.16-20250710
authorJens Axboe <axboe@kernel.dk>
Tue, 8 Jul 2025 17:04:45 +0000 (11:04 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 8 Jul 2025 17:09:01 +0000 (11:09 -0600)
commit9dff55ebaef7e94e5dedb6be28a1cafff65cc467
treebfc660724ad862401959ef0bf6d1bca3113ef228
parentfc582cd26e888b0652bc1494f252329453fd3b23
Revert "io_uring: gate REQ_F_ISREG on !S_ANON_INODE as well"

This reverts commit 6f11adcc6f36ffd8f33dbdf5f5ce073368975bc3.

The problematic commit was fixed in mainline, so the work-around in
io_uring can be removed at this point. Anonymous inodes no longer
pretend to be regular files after:

1e7ab6f67824 ("anon_inode: rework assertions")

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c