Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49481682 authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

NVMe: Add compat_ioctl



Make ioctls work for 32-bit applications on 64-bit kernels.  The structures
are defined to be the same for both 32- and 64-bit applications, so
we can use the same handler for both.

Reported-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
parent 9ecdc946
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1146,6 +1146,7 @@ static int nvme_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd,
static const struct block_device_operations nvme_fops = {
	.owner		= THIS_MODULE,
	.ioctl		= nvme_ioctl,
	.compat_ioctl	= nvme_ioctl,
};

static void nvme_resubmit_bios(struct nvme_queue *nvmeq)