diff --git a/fs/io_uring.c b/fs/io_uring.c index fdbaaf579cc6..0138aa713317 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -2770,7 +2770,7 @@ static bool io_file_supports_async(struct file *file, int rw) return true; return false; } - if (S_ISCHR(mode) || S_ISSOCK(mode)) + if (S_ISSOCK(mode)) return true; if (S_ISREG(mode)) { if (io_bdev_nowait(file->f_inode->i_sb->s_bdev) &&