diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-14 20:25:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-14 20:25:18 -0500 |
commit | a57cb1c1d7974c62a5c80f7869e35b492ace12cd (patch) | |
tree | 5a42ee9a668f171143464bc86013954c1bbe94ad /include/linux/dax.h | |
parent | cf1b3341afab9d3ad02a76b3a619ea027dcf4e28 (diff) | |
parent | e1e14ab8411df344a17687821f8f78f0a1e73cbb (diff) |
Merge branch 'akpm' (patches from Andrew)
Merge more updates from Andrew Morton:
- a few misc things
- kexec updates
- DMA-mapping updates to better support networking DMA operations
- IPC updates
- various MM changes to improve DAX fault handling
- lots of radix-tree changes, mainly to the test suite. All leading up
to reimplementing the IDA/IDR code to be a wrapper layer over the
radix-tree. However the final trigger-pulling patch is held off for
4.11.
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (114 commits)
radix tree test suite: delete unused rcupdate.c
radix tree test suite: add new tag check
radix-tree: ensure counts are initialised
radix tree test suite: cache recently freed objects
radix tree test suite: add some more functionality
idr: reduce the number of bits per level from 8 to 6
rxrpc: abstract away knowledge of IDR internals
tpm: use idr_find(), not idr_find_slowpath()
idr: add ida_is_empty
radix tree test suite: check multiorder iteration
radix-tree: fix replacement for multiorder entries
radix-tree: add radix_tree_split_preload()
radix-tree: add radix_tree_split
radix-tree: add radix_tree_join
radix-tree: delete radix_tree_range_tag_if_tagged()
radix-tree: delete radix_tree_locate_item()
radix-tree: improve multiorder iterators
btrfs: fix race in btrfs_free_dummy_fs_info()
radix-tree: improve dump output
radix-tree: make radix_tree_find_next_bit more useful
...
Diffstat (limited to 'include/linux/dax.h')
-rw-r--r-- | include/linux/dax.h | 7 |
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 |
48 | struct page *read_dax_sector(struct block_device *bdev, sector_t n); | 48 | struct page *read_dax_sector(struct block_device *bdev, sector_t n); |
49 | void dax_unlock_mapping_entry(struct address_space *mapping, pgoff_t index); | ||
50 | int __dax_zero_page_range(struct block_device *bdev, sector_t sector, | 49 | int __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. */ | ||
59 | static inline void dax_unlock_mapping_entry(struct address_space *mapping, | ||
60 | pgoff_t index) | ||
61 | { | ||
62 | BUG(); | ||
63 | } | ||
64 | static inline int __dax_zero_page_range(struct block_device *bdev, | 57 | static 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 | { |