Update of /cvsroot/libsysio/libsysio/src
In directory sc8-pr-cvs1:/tmp/cvs-serv7520
Modified Files:
Tag: b_lustre
namei.c
Log Message:
back out the previous change on intent. suggested by Lee Ward, handle
the issue in lustre instead of libsysio.
Index: namei.c
===================================================================
RCS file: /cvsroot/libsysio/libsysio/src/namei.c,v
retrieving revision 1.5.4.1
retrieving revision 1.5.4.2
diff -u -w -b -B -p -r1.5.4.1 -r1.5.4.2
--- namei.c 18 May 2003 10:54:10 -0000 1.5.4.1
+++ namei.c 18 May 2003 15:36:49 -0000 1.5.4.2
@@ -369,15 +369,11 @@ _sysio_path_walk(struct pnode *parent, s
* node it is looking up, including the last, via the base
* path node and it's ancestor chain.
*/
- /* I don't know why we need pass intent when first walk into the
- * filesyste. But for lustre, we definetely don't want the intent
- * unless we are handling the last component. -meijia FIXME
- */
err =
lookup(parent,
&this,
&nd->nd_pno,
- (/*path ||*/!next.len)
+ (path || !next.len)
? nd->nd_intent
: NULL,
(path && next.len) ? path : NULL);
|