patch-2.1.57 linux/fs/autofs/root.c
Next file: linux/fs/fcntl.c
Previous file: linux/drivers/sound/sequencer.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sat Sep 20 14:51:54 1997
-  Orig file: 
v2.1.56/linux/fs/autofs/root.c
-  Orig date: 
Thu Sep 11 09:02:23 1997
diff -u --recursive --new-file v2.1.56/linux/fs/autofs/root.c linux/fs/autofs/root.c
@@ -223,7 +223,7 @@
 	 * a signal. If so we can force a restart..
 	 */
 	if (dentry->d_flags & DCACHE_AUTOFS_PENDING) {
-		if (current->signal & ~current->blocked)
+		if (signal_pending(current))
 			return -ERESTARTNOINTR;
 	}
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov