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

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