diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-02-18 00:25:36 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-03-05 21:24:06 +0100 |
commit | 5faecf4eb0d7d67e809a4bc9059c764c27670832 (patch) | |
tree | 0e2a02dddf63ba1b5b0513cc78ac7c8507966aba /tools/include | |
parent | libnvdimm, nfit: centralize command status translation (diff) | |
download | linux-5faecf4eb0d7d67e809a4bc9059c764c27670832.tar.xz linux-5faecf4eb0d7d67e809a4bc9059c764c27670832.zip |
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>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions