fsdax: use a saner calling convention for copy_cow_page_dax
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Nov 2021 10:21:47 +0000 (11:21 +0100)
committerDan Williams <dan.j.williams@intel.com>
Sat, 4 Dec 2021 16:58:52 +0000 (08:58 -0800)
commit429f8de70d9872c5ca9b3914b3c4db5659779331
treefd206e41dd140cbdcf065761515e2ec18ac3f030
parent9dc2f9cdc63e7db82b6b2ec17894ca1b254f5e5d
fsdax: use a saner calling convention for copy_cow_page_dax

Just pass the vm_fault and iomap_iter structures, and figure out the rest
locally.  Note that this requires moving dax_iomap_sector up in the file.

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-14-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/dax.c