[PATCH 2/2] nvme: stop setting namespace gendisk device driver data

Christoph Hellwig hch at lst.de
Thu Feb 5 22:14:20 PST 2026


On Thu, Feb 05, 2026 at 05:11:15PM +0000, John Garry wrote:
> Since commit 1f4137e882c6 ("nvme: move passthrough logging attribute to
> head"), we stopped using the namespace to hold the passthrough logging
> enabled attribute. There is now nowhere now which looks up the gendisk dev
> driver data, so stop setting it.
> 
> Incidentally, it would have been better to set this before adding the
> disk.

I could also not find any other user of this drvdata field, so:

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




More information about the Linux-nvme mailing list