aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorJianchao Wang <[email protected]>2018-02-12 20:54:45 +0800
committerKeith Busch <[email protected]>2018-02-13 17:09:50 -0700
commit3fd176b754e992e1cdf1693ea8184626d1ed7671 (patch)
tree6922ddd6c61233e01bbbe4b5be27f7dd065cb1fe /scripts/gdb/vmlinux-gdb.py
parent0a34e4668c508cbbc2d5ef2d9710b145e4c0b27d (diff)
nvme: fix the deadlock in nvme_update_formats
nvme_update_formats will invoke nvme_ns_remove under namespaces_mutext. The will cause deadlock because nvme_ns_remove will also require the namespaces_mutext. Fix it by getting the ns entries which should be removed under namespaces_mutext and invoke nvme_ns_remove out of namespaces_mutext. Signed-off-by: Jianchao Wang <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Keith Busch <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions