summaryrefslogtreecommitdiff
path: root/fs/intermezzo
diff options
context:
space:
mode:
Diffstat (limited to 'fs/intermezzo')
-rw-r--r--fs/intermezzo/presto.c2
-rw-r--r--fs/intermezzo/vfs.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/intermezzo/presto.c b/fs/intermezzo/presto.c
index 8c0d22467901..0b4ac7c97e2f 100644
--- a/fs/intermezzo/presto.c
+++ b/fs/intermezzo/presto.c
@@ -40,7 +40,7 @@ int presto_walk(const char *name, struct nameidata *nd)
resolved pathname and not the symlink. SHP
XXX: This code implies that direct symlinks do not work. SHP
*/
- unsigned int flags = LOOKUP_POSITIVE;
+ unsigned int flags = 0;
ENTRY;
err = 0;
diff --git a/fs/intermezzo/vfs.c b/fs/intermezzo/vfs.c
index 2af4d255852f..b632c8c92eeb 100644
--- a/fs/intermezzo/vfs.c
+++ b/fs/intermezzo/vfs.c
@@ -538,7 +538,7 @@ int lento_create(const char *name, int mode, struct lento_vfs_context *info)
}
/* this looks up the parent */
-// if (path_init(pathname, LOOKUP_FOLLOW | LOOKUP_POSITIVE, &nd))
+// if (path_init(pathname, LOOKUP_FOLLOW, &nd))
if (path_init(pathname, LOOKUP_PARENT, &nd))
error = path_walk(pathname, &nd);
if (error) {
@@ -687,7 +687,7 @@ int lento_link(const char * oldname, const char * newname,
struct nameidata nd, old_nd;
error = 0;
- if (path_init(from, LOOKUP_POSITIVE, &old_nd))
+ if (path_init(from, 0, &old_nd))
error = path_walk(from, &old_nd);
if (error)
goto exit;