|
@@ -990,7 +990,6 @@ int __dax_zero_page_range(struct block_device *bdev, sector_t sector,
|
|
}
|
|
}
|
|
EXPORT_SYMBOL_GPL(__dax_zero_page_range);
|
|
EXPORT_SYMBOL_GPL(__dax_zero_page_range);
|
|
|
|
|
|
-#ifdef CONFIG_FS_IOMAP
|
|
|
|
static sector_t dax_iomap_sector(struct iomap *iomap, loff_t pos)
|
|
static sector_t dax_iomap_sector(struct iomap *iomap, loff_t pos)
|
|
{
|
|
{
|
|
return iomap->blkno + (((pos & PAGE_MASK) - iomap->offset) >> 9);
|
|
return iomap->blkno + (((pos & PAGE_MASK) - iomap->offset) >> 9);
|
|
@@ -1428,4 +1427,3 @@ int dax_iomap_pmd_fault(struct vm_area_struct *vma, unsigned long address,
|
|
}
|
|
}
|
|
EXPORT_SYMBOL_GPL(dax_iomap_pmd_fault);
|
|
EXPORT_SYMBOL_GPL(dax_iomap_pmd_fault);
|
|
#endif /* CONFIG_FS_DAX_PMD */
|
|
#endif /* CONFIG_FS_DAX_PMD */
|
|
-#endif /* CONFIG_FS_IOMAP */
|
|
|