[PATCH v4 23/23] nvme-pci: allow mmaping the CMB in userspace

Christoph Hellwig hch at lst.de
Tue Dec 21 01:07:46 PST 2021


>  	file->private_data = ctrl;
> +
> +	if (ctrl->ops->mmap_file_open)
> +		ctrl->ops->mmap_file_open(ctrl, file);
> +

The callout doesn't really have anything to do with mmap, that is just
how you use it.



More information about the Linux-nvme mailing list