patch-2.3.27 linux/fs/ncpfs/mmap.c
Next file: linux/fs/nfsd/nfsctl.c
Previous file: linux/fs/ncpfs/dir.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Thu Nov 11 10:33:42 1999
-  Orig file: 
v2.3.26/linux/fs/ncpfs/mmap.c
-  Orig date: 
Sun Nov  7 16:37:34 1999
diff -u --recursive --new-file v2.3.26/linux/fs/ncpfs/mmap.c linux/fs/ncpfs/mmap.c
@@ -43,7 +43,7 @@
 	int bufsize;
 	int pos;
 
-	page = __get_pages(GFP_KERNEL, 0);
+	page = alloc_page(GFP_KERNEL);
 	if (!page)
 		return page;
 	pg_addr = page_address(page);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)