]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit58bbf6efea33e2fb4116495210c5b2f2ba0ee2b3
treec536c81c2d976b107adf14e274c557fffccc7d0b
parentbae7253f290eb768c94642cc81f7340d32e3d0ae
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