aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fcntl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fcntl.c')
-rw-r--r--fs/fcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fcntl.c b/fs/fcntl.c
index 0491da3b28c3..448a1119f0be 100644
--- a/fs/fcntl.c
+++ b/fs/fcntl.c
@@ -749,7 +749,7 @@ static void send_sigio_to_task(struct task_struct *p,
749 * specific si_codes. In that case use SI_SIGIO instead 749 * specific si_codes. In that case use SI_SIGIO instead
750 * to remove the ambiguity. 750 * to remove the ambiguity.
751 */ 751 */
752 if (sig_specific_sicodes(signum)) 752 if ((signum != SIGPOLL) && sig_specific_sicodes(signum))
753 si.si_code = SI_SIGIO; 753 si.si_code = SI_SIGIO;
754 754
755 /* Make sure we are called with one of the POLL_* 755 /* Make sure we are called with one of the POLL_*