aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dax.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/dax.h')
-rw-r--r--include/linux/dax.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/dax.h b/include/linux/dax.h
index 0afade8bd3d7..f97bcfe79472 100644
--- a/include/linux/dax.h
+++ b/include/linux/dax.h
@@ -46,7 +46,6 @@ void dax_wake_mapping_entry_waiter(struct address_space *mapping,
46 46
47#ifdef CONFIG_FS_DAX 47#ifdef CONFIG_FS_DAX
48struct page *read_dax_sector(struct block_device *bdev, sector_t n); 48struct page *read_dax_sector(struct block_device *bdev, sector_t n);
49void dax_unlock_mapping_entry(struct address_space *mapping, pgoff_t index);
50int __dax_zero_page_range(struct block_device *bdev, sector_t sector, 49int __dax_zero_page_range(struct block_device *bdev, sector_t sector,
51 unsigned int offset, unsigned int length); 50 unsigned int offset, unsigned int length);
52#else 51#else
@@ -55,12 +54,6 @@ static inline struct page *read_dax_sector(struct block_device *bdev,
55{ 54{
56 return ERR_PTR(-ENXIO); 55 return ERR_PTR(-ENXIO);
57} 56}
58/* Shouldn't ever be called when dax is disabled. */
59static inline void dax_unlock_mapping_entry(struct address_space *mapping,
60 pgoff_t index)
61{
62 BUG();
63}
64static inline int __dax_zero_page_range(struct block_device *bdev, 57static inline int __dax_zero_page_range(struct block_device *bdev,
65 sector_t sector, unsigned int offset, unsigned int length) 58 sector_t sector, unsigned int offset, unsigned int length)
66{ 59{