]> git.baikalelectronics.ru Git - kernel.git/commit
pmem: refactor pmem_clear_poison()
authorJane Chu <jane.chu@oracle.com>
Fri, 22 Apr 2022 22:45:07 +0000 (16:45 -0600)
committerDan Williams <dan.j.williams@intel.com>
Mon, 16 May 2022 20:38:19 +0000 (13:38 -0700)
commit52dffcc0903f5aff1a67ad01bf606902d4da59be
tree17493989378074e2a202ba19091fd4f587545524
parent1fcf68fa8fea1374de82710b5604565490d6c660
pmem: refactor pmem_clear_poison()

Refactor the pmem_clear_poison() function such that the common
shared code between the typical write path and the recovery write
path is factored out.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jane Chu <jane.chu@oracle.com>
Link: https://lore.kernel.org/r/20220422224508.440670-7-jane.chu@oracle.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/pmem.c