patch-2.4.22 linux-2.4.22/arch/sparc64/kernel/signal32.c

Next file: linux-2.4.22/arch/sparc64/kernel/sys_sparc.c
Previous file: linux-2.4.22/arch/sparc64/kernel/signal.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/sparc64/kernel/signal32.c linux-2.4.22/arch/sparc64/kernel/signal32.c
@@ -1348,6 +1348,8 @@
 			line = d_path(map->vm_file->f_dentry,
 				      map->vm_file->f_vfsmnt,
 				      buffer, PAGE_SIZE);
+			if (IS_ERR(line))
+				break;
 		}
 		printk(MAPS_LINE_FORMAT, map->vm_start, map->vm_end, str, map->vm_pgoff << PAGE_SHIFT,
 			      kdevname(dev), ino);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)