Revert "block: Fix unaligned zero write"
commitd01c07f2221ca39ab2dd9e55932d99db98103b30
authorFam Zheng <famz@redhat.com>
Wed, 13 May 2015 13:11:59 +0000 (13 13:11 +0000)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 22 May 2015 08:37:33 +0000 (22 09:37 +0100)
treeacc0764189c9635c261f6758987577ec78a56d15
parent459b4e66129d091a11e9886ecc15a8bf9f7f3d92
Revert "block: Fix unaligned zero write"

This reverts commit fc3959e4669a1c2149b91ccb05101cfc7ae1fc05.

The core write code already handles the case, so remove this
duplication.

Because commit 61007b316 moved the touched code from block.c to
block/io.c, the change is manually reverted.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1431522721-3266-2-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/io.c