nvme: simplify compat_ioctl handling
authorChristoph Hellwig <hch@lst.de>
Thu, 5 Oct 2017 16:46:46 +0000 (18:46 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 16 Oct 2017 12:54:10 +0000 (14:54 +0200)
commit761f2e1ed8822cf12378c857de337290d0c82a81
treec536c81c2d976b107adf14e274c557fffccc7d0b
parent469d0ef06debe29ec60350b9976a520c4ad5a1e8
nvme: simplify compat_ioctl handling

We can just use our normal ioctl handler for the compat case and remove
the boilerplate code for it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
drivers/nvme/host/core.c