Whamcloud - gitweb
LU-13163 mdc: new kernel function xa_is_value()
[fs/lustre-release.git] / lustre / mdc / mdc_request.c
index 892860e..1806fd0 100644 (file)
@@ -1107,7 +1107,7 @@ static struct page *mdc_page_locate(struct address_space *mapping, __u64 *hash,
        xa_lock_irq(&mapping->i_pages);
        found = radix_tree_gang_lookup(&mapping->page_tree,
                                       (void **)&page, offset, 1);
-       if (found > 0 && !radix_tree_exceptional_entry(page)) {
+       if (found > 0 && !xa_is_value(page)) {
                struct lu_dirpage *dp;
 
                get_page(page);