xen/blkback: Check for proper operation.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 14 Oct 2011 16:13:05 +0000 (12:13 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 14 Oct 2011 16:29:55 +0000 (12:29 -0400)
commitdda1852802a6cc6fdecb9021e491b2de680c76b9
tree49a4b77a84898dc3a31fe291d9519d4edbe92004
parent64391b2536ca92f9c589b2bfeaca3954896fe057
xen/blkback: Check for proper operation.

The patch titled: "xen/blkback: Fix the inhibition to map pages
when discarding sector ranges." had the right idea except that
it used the wrong comparison operator. It had == instead of !=.

This fixes the bug where all (except discard) operations would
have been ignored.

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