Changeset 11888 from xen-unstable.
[BLOCK] blkback: Fix potential grant entry leaks on error
As it stands grant entries for the actual data are mapped in bulk.
If one of the earlier entries fail to be mapped, it can cause all
subsequent entries to be leaked if they were successfully mapped.
This patch changes it so that we will continue to reap grant entries
even when an error is detected.
Signed-off-by: Herbert Xu <firstname.lastname@example.org>
Just posted to rhkernel-list.
QE ack for RHEL5.
*** This bug has been marked as a duplicate of 218355 ***