block: IBM RamSan 70/80 driver fixes
authorPhilip J Kelleher <pjk1939@linux.vnet.ibm.com>
Mon, 18 Feb 2013 20:35:59 +0000 (21:35 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Feb 2013 20:35:59 +0000 (21:35 +0100)
commitc206c70924737db6836382c09ad2dacd04bb6204
tree31a9ebc3e0998f19db1537d45617ad13363dcef5
parentec8edc764efa51e5acf9193a8846a5a99399ceb8
block: IBM RamSan 70/80 driver fixes

This patch includes the following driver fixes for the
IBM RamSan 70/80 driver:

o Changed the creg_ctrl lock from a mutex to a spinlock.
o Added a count check for ioctl calls.
o Removed unnecessary casting of void pointers.
o Made every function static that needed to be.
o Added comments to explain things more thoroughly.

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