patch-2.0.32 linux/fs/proc/link.c
Next file: linux/fs/vfat/namei.c
Previous file: linux/fs/proc/inode.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Nov 1 12:31:42 1997
- Orig file:
v2.0.31/linux/fs/proc/link.c
- Orig date:
Fri Dec 22 03:00:19 1995
diff -u --recursive --new-file v2.0.31/linux/fs/proc/link.c linux/fs/proc/link.c
@@ -121,7 +121,7 @@
if (!p->files)
break;
ino &= 0xff;
- if (ino < NR_OPEN && p->files->fd[ino]) {
+ if (ino < NR_OPEN && p->files && p->files->fd[ino]) {
new_inode = p->files->fd[ino]->f_inode;
}
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov