fsdax: factor out a dax_memzero helper
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Nov 2021 10:21:51 +0000 (11:21 +0100)
committerDan Williams <dan.j.williams@intel.com>
Sat, 4 Dec 2021 16:58:52 +0000 (08:58 -0800)
commite5c71954ca11df04d258a663a8a15262be0e17f6
treee7b53f2546a3c132cb2c4c914eb4a838ee13a7b5
parent4a2d7d5950507a27e3074e4a29dc20720235f811
fsdax: factor out a dax_memzero helper

Factor out a helper for the "manual" zeroing of a DAX range to clean
up dax_iomap_zero a lot.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20211129102203.2243509-18-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/dax.c