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

    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?

    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.024 / U:49.552 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site