aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/filemap.c')
-rw-r--r--mm/filemap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 68f1813fbdc3..1b05f75aea0f 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -1721,7 +1721,9 @@ find_page:
1721 * wait_on_page_locked is used to avoid unnecessarily 1721 * wait_on_page_locked is used to avoid unnecessarily
1722 * serialisations and why it's safe. 1722 * serialisations and why it's safe.
1723 */ 1723 */
1724 wait_on_page_locked_killable(page); 1724 error = wait_on_page_locked_killable(page);
1725 if (unlikely(error))
1726 goto readpage_error;
1725 if (PageUptodate(page)) 1727 if (PageUptodate(page))
1726 goto page_ok; 1728 goto page_ok;
1727 1729