]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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>
Wed, 19 Oct 2011 20:31:34 +0000 (16:31 -0400)
commitf7d5d3be9b7386d7d44c4bfb5fc22bf216a37e3e
tree6443dccf833d1873e2667f546ffd22a3d2eca832
parent296c59a5a547decd2d8bbe924386973711a28e9a
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