aboutsummaryrefslogtreecommitdiffstats
path: root/fs/eventpoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/eventpoll.c')
-rw-r--r--fs/eventpoll.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 0d237182d721..71af2fc0041e 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -1279,7 +1279,7 @@ asmlinkage long sys_epoll_pwait(int epfd, struct epoll_event __user *events,
1279 if (error == -EINTR) { 1279 if (error == -EINTR) {
1280 memcpy(&current->saved_sigmask, &sigsaved, 1280 memcpy(&current->saved_sigmask, &sigsaved,
1281 sizeof(sigsaved)); 1281 sizeof(sigsaved));
1282 set_thread_flag(TIF_RESTORE_SIGMASK); 1282 set_restore_sigmask();
1283 } else 1283 } else
1284 sigprocmask(SIG_SETMASK, &sigsaved, NULL); 1284 sigprocmask(SIG_SETMASK, &sigsaved, NULL);
1285 } 1285 }
@@ -1309,4 +1309,3 @@ static int __init eventpoll_init(void)
1309 return 0; 1309 return 0;
1310} 1310}
1311fs_initcall(eventpoll_init); 1311fs_initcall(eventpoll_init);
1312