[PATCH 11/23] nvmet: add context annotation for nvmet_ns::uuid
Bart Van Assche
bvanassche at acm.org
Mon Nov 9 13:58:00 PST 2026
On 11/8/26 7:28 PM, Nilay Shroff wrote:
> [ ... ]
This patch breaks compilation in nvmet_ns_alloc() because
uuid_gen(&ns->uuid)
is called without holding subsys->lock. This is fixed only in patch 12.
Please move patch 12 before patch 11 (or squash them).
In nvmet_ns_device_uuid_show(), please use guard(mutex)(&ns->subsys->lock).
Thanks,
Bart.
More information about the Linux-nvme
mailing list