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

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)