block: Skip COR for inactive nodes
commit8644476e51fa33d7ab637b36b1306d0d4c66177c
authorMax Reitz <mreitz@redhat.com>
Tue, 1 Oct 2019 17:48:26 +0000 (1 19:48 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 8 Oct 2019 13:28:25 +0000 (8 14:28 +0100)
tree2e998bc1cc853fcb7665074003c2630f40aed03b
parent9b92fbcf45ed6ed1daceba8480b0d9e8a327b5ce
block: Skip COR for inactive nodes

We must not write data to inactive nodes, and a COR is certainly
something we can simply not do without upsetting anyone.  So skip COR
operations on inactive nodes.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20191001174827.11081-2-mreitz@redhat.com
Message-Id: <20191001174827.11081-2-mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/io.c