diff options
author | Michael Bestas <mkbestas@lineageos.org> | 2020-10-23 18:21:25 +0300 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-10-23 18:21:25 +0300 |
commit | 794b42a9a5fd60bd14413abedafdd2a9b07b1308 (patch) | |
tree | 2c00d2a954de42f9dc54b3a7894c1ad99a2e8a8b /mm/filemap.c | |
parent | 24b3bdcf71522f4d711958b01e8a8f234fe2450d (diff) | |
parent | 7a9986e91f90994623e4c5de1effce14729dba96 (diff) |
Merge branch 'android-4.4-p' of https://android.googlesource.com/kernel/common into lineage-17.1-caf-msm8998
This brings LA.UM.8.4.r1-06000-8x98.0 up to date with
https://android.googlesource.com/kernel/common/ android-4.4-p at commit:
7a9986e91f909 UPSTREAM: binder: fix UAF when releasing todo list
Conflicts:
fs/eventpoll.c
Change-Id: I77260d03cb539d7e7eefcea360aee2d59bb9e0cb
Diffstat (limited to 'mm/filemap.c')
-rw-r--r-- | mm/filemap.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 6f3c539d9e68..8309b5b773cd 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -2331,6 +2331,14 @@ filler: unlock_page(page); goto out; } + + /* + * A previous I/O error may have been due to temporary + * failures. + * Clear page error before actual read, PG_error will be + * set again if read page fails. + */ + ClearPageError(page); goto filler; out: |