mtip32xx: cleanup compat ioctl handling
authorJens Axboe <axboe@kernel.dk>
Wed, 28 Sep 2011 03:19:53 +0000 (21:19 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 5 Nov 2011 07:35:10 +0000 (08:35 +0100)
commitef0f1587343a4c17b9b0d9061546e36c1c1bb2ec
tree3acd32766e0e255693b006555e9ff21845b24324
parent16d02c040bb6769068f7c4b54ea8542f14237362
mtip32xx: cleanup compat ioctl handling

Do the conversion/copy up front instead of passing in a compat flag
to the ioctl handler and subsequently to the exec_drive_taskfile()
function.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c
drivers/block/mtip32xx/mtip32xx.h