io_uring: don't mark S_ISBLK async work as unbounded
authorJens Axboe <axboe@kernel.dk>
Thu, 1 Apr 2021 14:38:34 +0000 (08:38 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Apr 2021 14:56:28 +0000 (08:56 -0600)
commit4b982bd0f383db9132e892c0c5144117359a6289
tree9b069f16d20a21e408f6d3821372f0c7acdf9d3d
parent82734c5b1b24c020d701cf90ccb075e43a5ccb07
io_uring: don't mark S_ISBLK async work as unbounded

S_ISBLK is marked as unbounded work for async preparation, because it
doesn't match S_ISREG. That is incorrect, as any read/write to a block
device is also a bounded operation. Fix it up and ensure that S_ISBLK
isn't marked unbounded.

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