]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita7cab380df048ea2b1ba256769f0b6fb86846873
treee7b53f2546a3c132cb2c4c914eb4a838ee13a7b5
parentfcc3c6e026c046aee5c98c8b4704615a51a43da9
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