aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2019-09-05 21:15:57 +0530
committerDan Williams <[email protected]>2019-09-05 16:11:14 -0700
commita2d1c7a61db9b1e261410c7d9e2be2243040749b (patch)
tree8bd3f902d3ca26554d26eae97d3e1867d6b5009b /lib/memory-notifier-error-inject.c
parent7b60422cb796d40431337becf2129fd9944b2f05 (diff)
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" <[email protected]> Signed-off-by: Dan Williams <[email protected]> Signed-off-by: Aneesh Kumar K.V <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions