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>
Wed, 28 Sep 2011 03:19:53 +0000 (21:19 -0600)
commit707e3e246aa53787672e70369b9146338834184d
tree4bb02e69a21b735ac14043db8d01003f454c5c59
parent8dbd51ef1d952ab2f78e8702b71ac4dcc501dade
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