Whamcloud - gitweb
b=17604
authoranserper <anserper>
Fri, 27 Feb 2009 16:35:53 +0000 (16:35 +0000)
committeranserper <anserper>
Fri, 27 Feb 2009 16:35:53 +0000 (16:35 +0000)
i=Andreas Dilger
i=Johann Lombardi

Patch provided by Ruth Klundt; https://bugzilla.lustre.org/show_bug.cgi?id=17604#c0

libsysio/src/namei.c

index 7f8c1e4..63e610e 100644 (file)
@@ -268,7 +268,7 @@ _sysio_path_walk(struct pnode *parent, struct nameidata *nd)
                         * except the last component.
                         */
                        ND_INIT(&nameidata,
                         * except the last component.
                         */
                        ND_INIT(&nameidata,
-                               (nd->nd_flags | ND_NEGOK),
+                               nd->nd_flags,
                                lpath,
                                nd->nd_root,
                                !next.len ? nd->nd_intent : NULL);
                                lpath,
                                nd->nd_root,
                                !next.len ? nd->nd_intent : NULL);