rsxx: Kernel Panic caused by mapping Discards
authorPhilip J Kelleher <pjk1939@linux.vnet.ibm.com>
Sat, 28 Sep 2013 02:42:50 +0000 (20:42 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2013 16:10:28 +0000 (09:10 -0700)
commit0317cd6de852a70e0374e7eb40a013072274386f
tree3d5fd9d4508b5308f72c6784e6efe2afb56584ef
parentc8afd0dcbd14e2352258f2e2d359b36d0edd459f
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