diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-08-14 10:52:40 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-15 09:46:49 +0200 |
commit | b02fd8a8dc25e237b2f8b78ff662c6b4d6995598 (patch) | |
tree | 3e94a7ca854476952deb04b5dd89139a257a16db /ipc/util.c | |
parent | 534dde34bb7dfe47e030a0a1cb0e2d17c0c4bac3 (diff) | |
download | linux-stable-b02fd8a8dc25e237b2f8b78ff662c6b4d6995598.tar.gz linux-stable-b02fd8a8dc25e237b2f8b78ff662c6b4d6995598.tar.bz2 linux-stable-b02fd8a8dc25e237b2f8b78ff662c6b4d6995598.zip |
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>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions