On 2013-09-20 13:54, Kevin Wolf wrote:
If a read-only device is configured with copy-on-read=on, the old code
only prints a warning and automatically disables copy on read. Make it
a real error for blockdev-add.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
---
  block.c    |  9 +++++++--
  blockdev.c | 31 +++++++++++++++++++++++++++----
  2 files changed, 34 insertions(+), 6 deletions(-)

Reviewed-by: Max Reitz <mre...@redhat.com>

Reply via email to