Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvme-core: use list_add_tail_rcu instead of list_add_tail for nvme_in…
…it_ns_head The "list" of nvme_ns_head is used as rcu list, now in nvme_init_ns_head list_add_tail is used to add ns->siblings to the rcu list. It is not safe. Should use list_add_tail_rcu instead of list_add_tail. Signed-off-by: Chao Leng <lengchao@huawei.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
- Loading branch information