diff options
Diffstat (limited to 'fs/dax.c')
-rw-r--r-- | fs/dax.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -990,7 +990,6 @@ int __dax_zero_page_range(struct block_device *bdev, sector_t sector, | |||
990 | } | 990 | } |
991 | EXPORT_SYMBOL_GPL(__dax_zero_page_range); | 991 | EXPORT_SYMBOL_GPL(__dax_zero_page_range); |
992 | 992 | ||
993 | #ifdef CONFIG_FS_IOMAP | ||
994 | static sector_t dax_iomap_sector(struct iomap *iomap, loff_t pos) | 993 | static sector_t dax_iomap_sector(struct iomap *iomap, loff_t pos) |
995 | { | 994 | { |
996 | return iomap->blkno + (((pos & PAGE_MASK) - iomap->offset) >> 9); | 995 | 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, | |||
1428 | } | 1427 | } |
1429 | EXPORT_SYMBOL_GPL(dax_iomap_pmd_fault); | 1428 | EXPORT_SYMBOL_GPL(dax_iomap_pmd_fault); |
1430 | #endif /* CONFIG_FS_DAX_PMD */ | 1429 | #endif /* CONFIG_FS_DAX_PMD */ |
1431 | #endif /* CONFIG_FS_IOMAP */ | ||