]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/block/nvme-core.c
NVMe: compat SG_IO ioctl
authorKeith Busch <keith.busch@intel.com>
Wed, 23 Oct 2013 19:07:34 +0000 (13:07 -0600)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Mon, 16 Dec 2013 20:49:40 +0000 (15:49 -0500)
commit320a382746e0ab1304476ea7e986a8d416ab99db
treebbb40d77dd5f915fbdc87461869526e115f42de0
parent481e5bad84239b01415b888df2040c1860ae3cfd
NVMe: compat SG_IO ioctl

For 32-bit versions of sg3-utils running on a 64-bit system. This is
mostly a copy from the relevent portions of fs/compat_ioctl.c, with
slight modifications for going through block_device_operations.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Vishal Verma <vishal.l.verma@linux.intel.com>
[fixed up CONFIG_COMPAT=n build problems]
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme-core.c
drivers/block/nvme-scsi.c
include/linux/nvme.h