diff options
author | Chao Leng <lengchao@huawei.com> | 2021-01-28 06:33:51 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-01-28 21:25:07 +0300 |
commit | 772ea326a4a00b6b4b2c8f3606ad10c31f46c511 (patch) | |
tree | b97bbf08ee21a22401cb7db3e81a14a4ea7ce89b /scripts/clang-tools/gen_compile_commands.py | |
parent | d1bcf006a9d3d63c1bcb65a993cb13756954cd9c (diff) | |
download | linux-772ea326a4a00b6b4b2c8f3606ad10c31f46c511.tar.xz |
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 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions