[Libsysio-commit] HEAD: libsysio/src namei.c
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2003-06-11 23:14:53
|
Update of /cvsroot/libsysio/libsysio/src In directory sc8-pr-cvs1:/tmp/cvs-serv5668 Modified Files: namei.c Log Message: When built with automounts enabled, if a directory has the sticky- bit set but there is no .mount file, namei loops until the automount limit count is exceeded. Once that has happened, no further automounts were allowed in the path. Removed the else block that reset the error code, when the lookup on .mount failed, so that namei will begin processing the next component. Index: namei.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/src/namei.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -w -b -B -p -r1.5 -r1.6 --- namei.c 24 Mar 2003 22:09:06 -0000 1.5 +++ namei.c 11 Jun 2003 20:43:34 -0000 1.6 @@ -293,8 +293,7 @@ _sysio_path_walk(struct pnode *parent, s * Must send the intent-path again. */ path = nd->nd_path; - } else if (err == -ENOENT) - err = 0; + } if (!err) { P_RELE(pno); nd->nd_amcnt++; |