patch-2.3.38 linux/fs/buffer.c

Next file: linux/fs/coda/dir.c
Previous file: linux/fs/block_dev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.37/linux/fs/buffer.c linux/fs/buffer.c
@@ -1629,7 +1629,6 @@
 	int		offset;
 	unsigned long	blocknr;
 	struct kiobuf *	iobuf = NULL;
-	unsigned long	page;
 	struct page *	map;
 	struct buffer_head *tmp, *bh[KIO_MAX_SECTORS];
 
@@ -1661,11 +1660,6 @@
 
 		for (pageind = 0; pageind < iobuf->nr_pages; pageind++) {
 			map  = iobuf->maplist[pageind];
-			if (map && PageHighMem(map)) {
-				err = -EIO;
-				goto error;
-			}
-			page = page_address(map);
 
 			while (length > 0) {
 				blocknr = b[bufind++];

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)