commit | d34cb808402898e53b9a9bcbbedd01667a78723b | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Mon Sep 25 11:01:31 2017 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Thu Sep 28 09:10:14 2017 -0700 |
tree | d4ea0dbd680af3ddf3b3ec5655916a76fa21f57b | |
parent | e19b205be43d11bff638cad4487008c48d21c103 [diff] |
libnvdimm, dimm: clear 'locked' status on successful DIMM enable If we successfully enable a DIMM then it must not be locked and we can clear the label-read failure condition. Otherwise, we need to reload the entire bus provider driver to achieve the same effect, and that can disrupt unrelated DIMMs and namespaces. Fixes: 9d62ed965118 ("libnvdimm: handle locked label storage areas") Cc: <stable@vger.kernel.org> Signed-off-by: Dan Williams <dan.j.williams@intel.com>