[PATCH] nvme: fix the suspicious RCU usage warning in nvme_mpath_clear_current_path

Christoph Hellwig hch at lst.de
Wed Apr 18 03:19:13 PDT 2018


On Wed, Apr 18, 2018 at 03:32:47PM +0800, Jianchao Wang wrote:
> With lockdep enabled, when trigger nvme_remove, suspicious RCU
> usage warning will be printed out.
> Fix it with adding srcu_read_lock/unlock in it.

Looks fine,

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



More information about the Linux-nvme mailing list