Skip to content
Commit 320a3827 authored by Keith Busch's avatar Keith Busch Committed by Matthew Wilcox
Browse files

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: default avatarKeith Busch <keith.busch@intel.com>
Reviewed-by: default avatarVishal Verma <vishal.l.verma@linux.intel.com>
[fixed up CONFIG_COMPAT=n build problems]
Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
parent 481e5bad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment