Skip to content
Commit 4072585e authored by Michael Roth's avatar Michael Roth
Browse files

Revert "block: Fix unaligned zero write"



This reverts commit fc3959e4.

From upstream commit d01c07f2:
  This reverts commit fc3959e4.

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

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

Signed-off-by: default avatarFam Zheng <famz@redhat.com>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>

v2.3.0 does not contain 61007b31 so we can revert the change
directly.

Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 959fad0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment