diff options
Diffstat (limited to 'mm/filemap.c')
-rw-r--r-- | mm/filemap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 1ffb7dcd1b5d..00ab94a882de 100644 --- a/mm/filemap.c +++ b/mm/filemap.c | |||
@@ -137,8 +137,7 @@ 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); |