[PATCH 01/32] block: Provide blkdev_get_handle_* functions

Christoph Hellwig hch at infradead.org
Fri Jul 7 04:28:41 PDT 2023


On Thu, Jul 06, 2023 at 06:14:33PM +0200, Jan Kara wrote:
> > struct bdev_handle *bdev_open_by_path(dev_t dev, blk_mode_t mode,
> > 		void *holder, const struct blk_holder_ops *hops);
> > void bdev_release(struct bdev_handle *handle);
> 
> I'd maybe use bdev_close() instead of bdev_release() but otherwise I like
> the new naming.

We're using release everywhese else, but if Jens is fine with that I
can live with close.



More information about the Linux-nvme mailing list