On Saturday 06 December 2008 16:10, OGAWA Hirofumi wrote:
> 
> > @@ -1094,7 +1094,7 @@ static int __emul_lookup_dentry(const char *name, 
> > struct nameidata *nd)
> >             path_get(&fs->root);
> >             read_unlock(&fs->lock);
> >             if (path_walk(name, nd) == 0) {
> > -                   if (nd->path.dentry->d_inode) {
> > +                   if (d_negative(nd->path.dentry)) {
> >                             path_put(&old_path);
> >                             return 1;
> >                     }
> 
> Although I'm not seeing whole path, before I forget, this should be
> !d_negative(nd->path.dentry).

Thankyou, fixed.

Daniel

_______________________________________________
Tux3 mailing list
[email protected]
http://mailman.tux3.org/cgi-bin/mailman/listinfo/tux3

Reply via email to