Re: proc_fd_link

From: Alexander Viro (
Date: Wed May 03 2000 - 11:56:47 EST

On Wed, 3 May 2000, Andrea Arcangeli wrote:

> According to my fast read to the alpha asm it seems inside proc_fd_link()
> the inode->u.proc_i.file->f_dentry is NULL or anyway not a pointer to
> valid dentry. I think the file that had to be read from the /proc/*/fd
> directory was a pipe. (I get a unaligned-fault-in-kernel while reading
> dentry->d_count, dentry->dcount happened to be at virtual address 0x42 and
> previously it happened to be also 0x41 if I remeber well) btw, to compile
> 2.3.99-pre7-pre3 on alpha I did this below simple patch but it shouldn't
> matter too.

->f_dentry? Are you sure? And that - on pipes? Care to check ->f_dentry in
that point for files where ->f_vfsmnt is NULL? Couple of printks might
help big way...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:12 EST