block: Fix bdrv_has_zero_init
authorKevin Wolf <kwolf@redhat.com>
Wed, 28 Jul 2010 09:26:29 +0000 (11:26 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 3 Aug 2010 13:57:22 +0000 (15:57 +0200)
commit0aa9577eea653769c9d6703530580c2c9b41ac61
tree0f5945db7be86283562c5d86abf3eb36cb4d695c
parent247465bf7454db917f633238f94a49686c3dccb8
block: Fix bdrv_has_zero_init

Assuming that any image on a block device is not properly zero-initialized is
actually wrong: Only raw images have this problem. Any other image format
shouldn't care about it, they initialize everything properly themselves.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block/raw-posix.c
block/raw-win32.c
block/raw.c
block_int.h