Messages in this thread | | | Subject | Re: [PATCH 8/8] fix handling of st_nlink on procfs root | From | (Eric W. Biederman) | Date | Wed, 15 Feb 2006 10:35:08 -0700 |
| |
Al Viro <viro@ftp.linux.org.uk> writes:
> On Wed, Feb 15, 2006 at 02:20:17AM -0700, Eric W. Biederman wrote: >> And it is actually wrong. It fails to take into account the static >> /proc entries. >> > + stat->nlink = proc_root.nlink + nr_processes(); > > The hell it does. See ^^^^^^^^^^^^^^ this.
Right. Sorry. I had a similar issue and when I check your patch for the same problem somehow I thought proc_root was a struct inode and not a struct proc_dir_entry.
Eric
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |