patch-2.1.68 linux/fs/fcntl.c

Next file: linux/fs/lockd/clntproc.c
Previous file: linux/fs/exec.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.67/linux/fs/fcntl.c linux/fs/fcntl.c
@@ -178,7 +178,7 @@
 		    (euid ^ p->suid) && (euid ^ p->uid) &&
 		    (uid ^ p->suid) && (uid ^ p->uid))
 			continue;
-		p->signal |= 1 << (SIGIO-1);
+		send_sig(SIGIO, p, 1);
 		if (p->state == TASK_INTERRUPTIBLE && signal_pending(p))
 			wake_up_process(p);
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov