tools/testing/nvdimm: Retain security state after overwrite
authorDave Jiang <dave.jiang@intel.com>
Mon, 11 Mar 2019 19:47:14 +0000 (12:47 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 8 Apr 2019 16:39:32 +0000 (09:39 -0700)
commit2170a0d53bee1a6c1a4ebd042f99d85aafc6c0ea
tree4798fc6c3d8ccef6c221824c589924313b996368
parent9dc6488e84b0f64df17672271664752488cd6a25
tools/testing/nvdimm: Retain security state after overwrite

Overwrite retains the security state after completion of operation.  Fix
nfit_test to reflect this so that the kernel can test the behavior it is
more likely to see in practice.

Fixes: 926f74802cb1 ("tools/testing/nvdimm: Add overwrite support for nfit_test")
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/nvdimm/test/nfit.c