#else
#define mdc_unpack_acl(req, md) 0
#endif
+#ifdef HAVE_XA_IS_VALUE
+# include <linux/xarray.h>
+#endif
int mdc_get_lustre_md(struct obd_export *exp, struct ptlrpc_request *req,
struct obd_export *dt_exp, struct obd_export *md_exp,
}
for (npages = 1; npages < max_pages; npages++) {
- page = __page_cache_alloc(mapping_gfp_mask(inode->i_mapping)
- | __GFP_COLD);
+ page = page_cache_alloc(inode->i_mapping);
if (page == NULL)
break;
page_pool[npages] = page;