patch-1.3.95 linux/mm/filemap.c
Next file: linux/net/ipv4/ip_output.c
Previous file: linux/lib/string.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Wed Apr 24 15:01:47 1996
- Orig file:
v1.3.94/linux/mm/filemap.c
- Orig date:
Tue Apr 23 13:57:14 1996
diff -u --recursive --new-file v1.3.94/linux/mm/filemap.c linux/mm/filemap.c
@@ -686,8 +686,11 @@
*/
read_page:
error = inode->i_op->readpage(inode, page);
- if (!error)
- goto found_page;
+ if (!error) {
+ if (!PageError(page))
+ goto found_page;
+ error = -EIO;
+ }
free_page(addr);
break;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this