xen-blkfront: use true and false for boolean values
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 6 Aug 2018 14:14:55 +0000 (08:14 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 6 Aug 2018 14:14:55 +0000 (08:14 -0600)
commitf87c30c96cd9b5baa28bc63900f16e04e8c7cbb2
tree17feff5a5a2706edba184e269b2098702522c1dd
parentf10fe9d85dc0802b54519c917716e6f0092b4ce7
xen-blkfront: use true and false for boolean values

Return statements in functions returning bool should use true or false
instead of an integer value.

This code was detected with the help of Coccinelle.

Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/xen-blkfront.c