Skip to content
Commit b089cfd9 authored by Jens Axboe's avatar Jens Axboe
Browse files

block: don't warn for flush on read-only device



Don't warn for a flush issued to a read-only device. It's not strictly
a writable command, as it doesn't change any on-media data by itself.

Reported-by: default avatarStefan Agner <stefan@agner.ch>
Fixes: 721c7fc7

 ("block: fail op_is_write() requests to read-only partitions")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent eb2b3d03
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment