projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
n_tty: wake up poll(POLLRDNORM) on receiving data
[linux-2.6-microblaze.git]
/
mm
/
userfaultfd.c
diff --git
a/mm/userfaultfd.c
b/mm/userfaultfd.c
index
ac6f036
..
0780c2a
100644
(file)
--- a/
mm/userfaultfd.c
+++ b/
mm/userfaultfd.c
@@
-232,6
+232,11
@@
static int mcontinue_atomic_pte(struct mm_struct *dst_mm,
goto out;
}
+ if (PageHWPoison(page)) {
+ ret = -EIO;
+ goto out_release;
+ }
+
ret = mfill_atomic_install_pte(dst_mm, dst_pmd, dst_vma, dst_addr,
page, false, wp_copy);
if (ret)