commit | 5faecf4eb0d7d67e809a4bc9059c764c27670832 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Wed Feb 17 15:25:36 2016 -0800 |
committer | Dan Williams <dan.j.williams@intel.com> | Sat Mar 05 12:24:06 2016 -0800 |
tree | 0e2a02dddf63ba1b5b0513cc78ac7c8507966aba | |
parent | aef25338226660cdd4df908c2eff1abdcfca65e5 [diff] |
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: Dan Williams <dan.j.williams@intel.com>