]> git.ipfire.org Git - thirdparty/qemu.git/commit
Revert "block: Fix unaligned zero write"
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 29 Jul 2015 22:05:56 +0000 (17:05 -0500)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 29 Jul 2015 22:05:56 +0000 (17:05 -0500)
commit4072585ecfda0917837a22e317d689e4f16430af
treef1eee72484bc3b6566501742ebca0c522357d898
parent959fad0ff11837d299e22b0f148c608b50eec457
Revert "block: Fix unaligned zero write"

This reverts commit fc3959e4669a1c2149b91ccb05101cfc7ae1fc05.

From upstream commit d01c07f:
  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>
v2.3.0 does not contain 61007b316 so we can revert the change
directly.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block.c