diff --git a/fs/io_uring.c b/fs/io_uring.c index b93fa32172af..cdd9b53abbb2 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -2618,7 +2618,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 (IS_ENABLED(CONFIG_BLOCK) &&