diff options
author | Chao Leng <lengchao@huawei.com> | 2021-01-28 11:33:51 +0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-01-28 19:25:07 +0100 |
commit | 772ea326a4a00b6b4b2c8f3606ad10c31f46c511 (patch) | |
tree | b97bbf08ee21a22401cb7db3e81a14a4ea7ce89b /drivers/dca | |
parent | d1bcf006a9d3d63c1bcb65a993cb13756954cd9c (diff) |
nvme-core: use list_add_tail_rcu instead of list_add_tail for nvme_init_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>
Diffstat (limited to 'drivers/dca')
0 files changed, 0 insertions, 0 deletions