xen/blkback: Move the check for misaligned I/O once more.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 18 Apr 2011 15:34:55 +0000 (11:34 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 18 Apr 2011 15:34:55 +0000 (11:34 -0400)
commite93504933ee6982bdc005fa5c24e1ea330faaf8b
tree4e775c9ab335e82cc5ffdbf54d49d8cb91f12adf
parent9f3aedf573dd034d59e7eb6c4ee97648d5be8fc6
xen/blkback: Move the check for misaligned I/O once more.

The commit 976222e05ea5a9959ccf880d7a24efbf79b3c6cf

    xen/blkback: Move the check for misaligned I/O higher.

moved it a bit to high. The preq->vbdev was not set, so the
check for misaligned I/O would cause a NULL pointer derefence.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/blkback/blkback.c