summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/pfn_devs.c
diff options
context:
space:
mode:
authorVishal Verma <vishal.l.verma@intel.com>2017-08-31 03:36:00 +0200
committerDan Williams <dan.j.williams@intel.com>2017-09-01 00:05:10 +0200
commit1398199d849047c59acef0c04e550b47bb9b4be6 (patch)
treeea1bbf44a70de941d70b71007aec836993dfc98f /drivers/nvdimm/pfn_devs.c
parentlibnvdimm, btt: refactor map entry operations with macros (diff)
downloadlinux-1398199d849047c59acef0c04e550b47bb9b4be6.tar.xz
linux-1398199d849047c59acef0c04e550b47bb9b4be6.zip
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>
Diffstat (limited to 'drivers/nvdimm/pfn_devs.c')
0 files changed, 0 insertions, 0 deletions