Skip to content
Commit 5faecf4e authored by Dan Williams's avatar Dan Williams
Browse files

libnvdimm: protect nvdimm_{bus|namespace}_add_poison() with nvdimm_bus_lock()



In preparation for making poison list retrieval asynchronus to region
registration, add protection for walking and mutating the bus-level
poison list.

Cc: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent aef25338
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment