commit | 0ebd24e0a203cf2852c310b59fbe050190dc6c8c | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Thu Sep 19 15:12:18 2013 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Oct 11 16:50:02 2013 +0200 |
tree | 96b08ce87f22d94abe4d885e46a6662cbd0908f8 | |
parent | e34ef046412431acf5b4e30762390b4048187bb8 [diff] |
blockdev: Don't disable COR automatically with blockdev-add 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 <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>