diff options
author | Ross Zwisler <ross.zwisler@linux.intel.com> | 2016-11-08 03:32:35 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-11-08 03:32:35 +0300 |
commit | b9fde0462e34a05b25c3d68d344971865659abae (patch) | |
tree | bdbcf85e293341d505855a32fd35b76c8d12ac1c /include/linux/dax.h | |
parent | 63e95b5c4f16e156b98adcf2f7d820ba941c82a3 (diff) | |
download | linux-b9fde0462e34a05b25c3d68d344971865659abae.tar.xz |
dax: remove dax_pmd_fault()
dax_pmd_fault() is the old struct buffer_head + get_block_t based 2 MiB DAX
fault handler. This fault handler has been disabled for several kernel
releases, and support for PMDs will be reintroduced using the struct iomap
interface instead.
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'include/linux/dax.h')
-rw-r--r-- | include/linux/dax.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/dax.h b/include/linux/dax.h index a41a747d6112..0f74866edae6 100644 --- a/include/linux/dax.h +++ b/include/linux/dax.h @@ -48,16 +48,12 @@ static inline int __dax_zero_page_range(struct block_device *bdev, } #endif -#if defined(CONFIG_TRANSPARENT_HUGEPAGE) -int dax_pmd_fault(struct vm_area_struct *, unsigned long addr, pmd_t *, - unsigned int flags, get_block_t); -#else static inline int dax_pmd_fault(struct vm_area_struct *vma, unsigned long addr, pmd_t *pmd, unsigned int flags, get_block_t gb) { return VM_FAULT_FALLBACK; } -#endif + int dax_pfn_mkwrite(struct vm_area_struct *, struct vm_fault *); #define dax_mkwrite(vma, vmf, gb) dax_fault(vma, vmf, gb) |