]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/filemap.c
signalfd: fill in ssi_int for posix timers and message queues
[karo-tx-linux.git] / mm / filemap.c
index bff0b000cec2de349e6a38b5ee6926a632799120..a4800c51d6c99c23a0eae9c53dc46a93b0cf808b 100644 (file)
@@ -1118,6 +1118,12 @@ page_not_up_to_date_locked:
                }
 
 readpage:
+               /*
+                * A previous I/O error may have been due to temporary
+                * failures, eg. multipath errors.
+                * PG_error will be set again if readpage fails.
+                */
+               ClearPageError(page);
                /* Start the actual read. The read will unlock the page. */
                error = mapping->a_ops->readpage(filp, page);