Jens Axboe b02fd8a8dc block: don't warn for flush on read-only device
[ Upstream commit b089cfd95d32638335c551651a8e00fd2c4edb0b ]

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: Stefan Agner <stefan@agner.ch>
Fixes: 721c7fc701c7 ("block: fail op_is_write() requests to read-only partitions")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-15 09:46:49 +02:00
..
2018-07-27 12:51:00 -07:00
2018-07-27 12:51:00 -07:00
2018-05-29 08:59:21 -06:00
2018-06-17 05:37:55 +09:00
2018-09-09 10:32:29 +02:00
2018-05-31 10:50:54 -04:00
2018-06-15 18:10:01 -03:00