Re: [PATCH 3/7] dax: Simplify arguments of dax_insert_mapping()
From: Christoph Hellwig <hidden>
Date: 2017-08-01 10:54:28
Also in:
linux-fsdevel, linux-xfs, nvdimm
From: Christoph Hellwig <hidden>
Date: 2017-08-01 10:54:28
Also in:
linux-fsdevel, linux-xfs, nvdimm
On Thu, Jul 27, 2017 at 03:12:41PM +0200, Jan Kara wrote:
dax_insert_mapping() has lots of arguments and a lot of them is actuall duplicated by passing vm_fault structure as well. Change the function to take the same arguments as dax_pmd_insert_mapping().
Some of this is probably for historic reasons, when I did the initial pass at iomap based DAX dax_insert_mapping still had to be usable for the non-DAX case. Either way this looks like a great cleanup: Reviewed-by: Christoph Hellwig <redacted>