aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2016-11-13 22:02:15 -0500
committerTheodore Ts'o <tytso@mit.edu>2016-11-13 22:02:15 -0500
commita2f6d9c4c081ec2a02529b8af2c04f3e557a3a3e (patch)
tree643b4ba9e9f628a717d2d9741f0286842dcac28c /mm/filemap.c
parentbc33b0ca11e3df467777a4fa7639ba488c9d4911 (diff)
parent9484ab1bf4464faae695321dd4fa66365beda74e (diff)
Merge branch 'dax-4.10-iomap-pmd' into origin
Diffstat (limited to 'mm/filemap.c')
-rw-r--r--mm/filemap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index c7fe2f16503f..db26ebc6c62f 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -137,13 +137,12 @@ static int page_cache_tree_insert(struct address_space *mapping,
137 } else { 137 } else {
138 /* DAX can replace empty locked entry with a hole */ 138 /* DAX can replace empty locked entry with a hole */
139 WARN_ON_ONCE(p != 139 WARN_ON_ONCE(p !=
140 (void *)(RADIX_TREE_EXCEPTIONAL_ENTRY | 140 dax_radix_locked_entry(0, RADIX_DAX_EMPTY));
141 RADIX_DAX_ENTRY_LOCK));
142 /* DAX accounts exceptional entries as normal pages */ 141 /* DAX accounts exceptional entries as normal pages */
143 if (node) 142 if (node)
144 workingset_node_pages_dec(node); 143 workingset_node_pages_dec(node);
145 /* Wakeup waiters for exceptional entry lock */ 144 /* Wakeup waiters for exceptional entry lock */
146 dax_wake_mapping_entry_waiter(mapping, page->index, 145 dax_wake_mapping_entry_waiter(mapping, page->index, p,
147 false); 146 false);
148 } 147 }
149 } 148 }