rsxx: Kernel Panic caused by mapping Discards for-3.12/drivers
authorPhilip J Kelleher <pjk1939@linux.vnet.ibm.com>
Sat, 28 Sep 2013 02:42:50 +0000 (20:42 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 28 Sep 2013 02:42:50 +0000 (20:42 -0600)
commit47d9fcdd2477edc8c5c3d00639cfb8e0b30675d8
tree5fc82dbbea1a26696914cf705a1d8dd15679dc50
parent0e2c4a3a6c0c109e18550f283bfd39c2bbe514bd
rsxx: Kernel Panic caused by mapping Discards

This fixes a kernel panic injected by commit id
8d26750143341831bc312f61c5ed141eeb75b8d0 where discards
are getting mapped through the pci_map_page function call.

The driver will now start verifying that a dma is not a
discard before issuing a the pci_map_page function call.

Also, we are updating the driver version.

Signed-off-by: Philip J Kelleher <pjk1939@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rsxx/dma.c
drivers/block/rsxx/rsxx_priv.h