Whamcloud - gitweb
Branch Head
[fs/lustre-release.git] / lustre / liblustre / dir.c
index 8498d80..8d632ea 100644 (file)
@@ -129,7 +129,7 @@ static struct page *llu_dir_read_page(struct inode *ino, unsigned long pgidx)
         int rc;
         ENTRY;
 
-        page = alloc_page(0);
+        page = cfs_alloc_page(0);
         if (!page) {
                 CERROR("alloc page failed\n");
                 RETURN(ERR_PTR(-ENOMEM));