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

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

diff -urN linux-2.4.21/arch/sparc64/kernel/signal.c linux-2.4.22/arch/sparc64/kernel/signal.c
@@ -679,6 +679,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)