commit | cfc93c6c6c963d96ef7081c17fb95d2738a75f55 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <willy@infradead.org> | Wed Mar 28 11:48:03 2018 -0400 |
committer | Matthew Wilcox <willy@infradead.org> | Sun Oct 21 10:46:43 2018 -0400 |
tree | f923f8939814e934c7b6fcba90f6688a5aef15f3 | |
parent | ec4907ff69fb16161d9d9370260303a73dd5acde [diff] |
dax: Convert dax_insert_pfn_mkwrite to XArray Add some XArray-based helper functions to replace the radix tree based metaphors currently in use. The biggest change is that converted code doesn't see its own lock bit; get_unlocked_entry() always returns an entry with the lock bit clear. So we don't have to mess around loading the current entry and clearing the lock bit; we can just store the unlocked entry that we already have. Signed-off-by: Matthew Wilcox <willy@infradead.org>