diff options
author | Dan Williams <dan.j.williams@intel.com> | 2019-09-05 17:45:57 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-09-06 01:11:14 +0200 |
commit | a2d1c7a61db9b1e261410c7d9e2be2243040749b (patch) | |
tree | 8bd3f902d3ca26554d26eae97d3e1867d6b5009b /drivers/dma/mv_xor.c | |
parent | libnvdimm/security: Consolidate 'security' operations (diff) | |
download | linux-a2d1c7a61db9b1e261410c7d9e2be2243040749b.tar.xz linux-a2d1c7a61db9b1e261410c7d9e2be2243040749b.zip |
libnvdimm/region: Rewrite _probe_success() to _advance_seeds()
The nd_region_probe_success() helper collides seed management with
nvdimm->busy tracking. Given the 'busy' increment is handled internal to the
nd_region driver 'probe' path move the decrement to the 'remove' path.
With that cleanup the routine can be renamed to the more descriptive
nd_region_advance_seeds().
The change is prompted by an incoming need to optionally advance the
seeds on other events besides 'probe' success.
Cc: "Aneesh Kumar K.V" <aneesh.kumar@linux.ibm.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Link: https://lore.kernel.org/r/20190905154603.10349-2-aneesh.kumar@linux.ibm.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/mv_xor.c')
0 files changed, 0 insertions, 0 deletions