lkml.org 
[lkml]   [2011]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: vfs-scale, nd->inode after __do_follow_link()
Date

Nick Piggin:
> > Isn't it path.dentry->d_inode instead of nd.inode?
:::
> It should be the inode we followed, rather than the inode of the
> new path, I think.

In __do_follow_link(), path.dentry is what we followed, isn't it?

__do_follow_link()
{
struct dentry *dentry = path->dentry;
;;;
*p = dentry->d_inode->i_op->follow_link(dentry, nd);
;;;

J. R. Okajima


\
 
 \ /
  Last update: 2011-01-14 05:43    [W:0.060 / U:0.448 seconds]
©2003-2014 Jasper Spaans. Advertise on this site