dax: Factor out getting of pfn out of iomap
authorJan Kara <jack@suse.cz>
Wed, 1 Nov 2017 15:36:33 +0000 (16:36 +0100)
committerDan Williams <dan.j.williams@intel.com>
Fri, 3 Nov 2017 13:26:23 +0000 (06:26 -0700)
commit5e161e4066d3ebeaff95a4b979b42f8bf00494d5
treea2a0e0118ca82153089ea9ce6f6c0827ea51bdeb
parent31a6f1a6e5a4a26040b67d8fa4256539b36f5893
dax: Factor out getting of pfn out of iomap

Factor out code to get pfn out of iomap that is shared between PTE and
PMD fault path.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/dax.c