diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-02-17 15:25:36 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-03-05 12:24:06 -0800 |
commit | 5faecf4eb0d7d67e809a4bc9059c764c27670832 (patch) | |
tree | 0e2a02dddf63ba1b5b0513cc78ac7c8507966aba /crypto/lrw.c | |
parent | aef25338226660cdd4df908c2eff1abdcfca65e5 (diff) | |
download | linux-5faecf4eb0d7d67e809a4bc9059c764c27670832.tar.gz linux-5faecf4eb0d7d67e809a4bc9059c764c27670832.tar.bz2 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 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions