OSDN Git Service

qcow2: Ignore reserved bits in L1/L2 entries
authorKevin Wolf <kwolf@redhat.com>
Thu, 23 Feb 2012 14:40:55 +0000 (15:40 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 20 Apr 2012 13:57:28 +0000 (15:57 +0200)
commit8e37f681d58bbe166c20559e77fd55b1cb8e6e4b
tree5c98c646b56e21ac9f04b26a6248ee93331d313b
parentb0b6862e5e1a1394e0ab3d5da94ba8b0da8664e2
qcow2: Ignore reserved bits in L1/L2 entries

This changes the still existing places that assume that the only flags
are QCOW_OFLAG_COPIED and QCOW_OFLAG_COMPRESSED to properly mask out
reserved bits.

It does not convert bdrv_check yet.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-cluster.c
block/qcow2-refcount.c