mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-06-16 02:15:47 +00:00
kvm tools: Drop write operation in ro_ops_nowrite
It is supposed to have no write ops in ro_ops_nowrite disk operation. However, there is one. Let's remove it. Signed-off-by: Asias He <asias.hejun@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
@@ -102,7 +102,6 @@ struct disk_image_operations ro_ops = {
|
||||
|
||||
struct disk_image_operations ro_ops_nowrite = {
|
||||
.read_sector = raw_image__read_sector,
|
||||
.write_sector = raw_image__write_sector,
|
||||
};
|
||||
|
||||
struct disk_image *raw_image__probe(int fd, struct stat *st, bool readonly)
|
||||
|
||||
Reference in New Issue
Block a user