[Tux3] Deferred namespace operations, third attempt

Daniel Phillips phillips at phunq.net
Sat Dec 6 17:38:34 PST 2008


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
Tux3 at tux3.org
http://mailman.tux3.org/cgi-bin/mailman/listinfo/tux3



More information about the Tux3 mailing list