xen/blkback: Move the check for misaligned I/O higher.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 15 Apr 2011 15:38:29 +0000 (11:38 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 15 Apr 2011 15:38:29 +0000 (11:38 -0400)
We move it up higher to be in same loop that actually computes
the sector number.

This way, all of the code that deals with verifying that the
request is correct is all done before we do any of the
page mapping, I/O submission, etc.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

No differences found