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

From: Christoph Hellwig
Date: Tue Dec 21 2021 - 04:07:53 EST


> 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.