git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm, gup: return EINTR when gup is interrupted by fatal signals
[sfrench/cifs-2.6.git]
/
mm
/
gup.c
diff --git
a/mm/gup.c
b/mm/gup.c
index 6076df8e04a4e74dbb1405aa0e28ec9c72b59c4b..50681f0286ded05c26c0dc98660e4df5cd1ebecc 100644
(file)
--- a/
mm/gup.c
+++ b/
mm/gup.c
@@
-1088,7
+1088,7
@@
retry:
* potentially allocating memory.
*/
if (fatal_signal_pending(current)) {
- ret = -E
RESTARTSYS
;
+ ret = -E
INTR
;
goto out;
}
cond_resched();