diff options
author | Keith Busch <keith.busch@intel.com> | 2013-10-23 13:07:34 -0600 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2013-12-16 15:49:40 -0500 |
commit | 320a382746e0ab1304476ea7e986a8d416ab99db (patch) | |
tree | bbb40d77dd5f915fbdc87461869526e115f42de0 /include/linux/nvme.h | |
parent | 481e5bad84239b01415b888df2040c1860ae3cfd (diff) | |
download | linux-stable-320a382746e0ab1304476ea7e986a8d416ab99db.tar.gz linux-stable-320a382746e0ab1304476ea7e986a8d416ab99db.tar.bz2 linux-stable-320a382746e0ab1304476ea7e986a8d416ab99db.zip |
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>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r-- | include/linux/nvme.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index 8119a476cb29..5bc29197d90e 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h @@ -165,6 +165,7 @@ int nvme_set_features(struct nvme_dev *dev, unsigned fid, unsigned dword11, struct sg_io_hdr; int nvme_sg_io(struct nvme_ns *ns, struct sg_io_hdr __user *u_hdr); +int nvme_sg_io32(struct nvme_ns *ns, unsigned long arg); int nvme_sg_get_version_num(int __user *ip); #endif /* _LINUX_NVME_H */ |