Re: [PATCH v2 07/14] vfio/platform: Use open_device() instead of open coding a refcnt scheme

Christoph Hellwig
2021-07-23T07:45:28Z

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>

On Tue, Jul 20, 2021 at 02:42:53PM -0300, Jason Gunthorpe wrote:
> Platform simply wants to run some code when the device is first
> opened/last closed. Use the core framework and locking for this. Aside
> from removing a bit of code this narrows the locking scope from a global
> lock.
>
> Signed-off-by: Yishai Hadas <yishaih@nvidia.com>

Btw, this seems to miss the second from line for Yishai, which should
match the first signoff.