Home
last modified time | relevance | path

Searched hist:"1398199 d849047c59acef0c04e550b47bb9b4be6" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/nvdimm/
H A Dbtt.cdiff 1398199d849047c59acef0c04e550b47bb9b4be6 Wed Aug 30 20:36:00 CDT 2017 Vishal Verma <vishal.l.verma@intel.com> libnvdimm, btt: ensure that flags were also unchanged during a map_read

In btt_map_read, we read the map twice to make sure that the map entry
didn't change after we added it to the read tracking table. In
anticipation of expanding the use of the error bit, also make sure that
the error and zero flags are constant across the two map reads.

Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>