patch-2.2.11 linux/fs/proc/link.c
Next file: linux/fs/proc/root.c
Previous file: linux/fs/proc/array.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Mon Aug  9 12:04:41 1999
-  Orig file: 
v2.2.10/linux/fs/proc/link.c
-  Orig date: 
Mon Apr 12 16:18:26 1999
diff -u --recursive --new-file v2.2.10/linux/fs/proc/link.c linux/fs/proc/link.c
@@ -143,6 +143,9 @@
 	char * tmp = (char*)__get_free_page(GFP_KERNEL), *path, *pattern;
 	int len;
 
+	if(tmp==NULL)
+		return -ENOMEM;
+		
 	/* Check for special dentries.. */
 	pattern = NULL;
 	inode = dentry->d_inode;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)