[PATCH] nvmet: serialize port attribute updates with enable

Christoph Hellwig hch at lst.de
Wed Oct 28 07:39:11 PDT 2026


On Wed, Oct 28, 2026 at 01:13:29PM +0800, Jiale Yao wrote:
> +	scoped_guard(rwsem_write, &nvmet_config_sem) {

Please use normal locking primitives instead of turning the functions
into a mess with the guards.




More information about the Linux-nvme mailing list