summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-30 21:33:31 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-30 21:33:31 +0000
commitf32c513ae17f431fa8ae3218faf1f764be64485f (patch)
tree1a7a1cc247929a772c8e2c5ddffeae100d7e43a9 /libdiskfs
parent41a5ee6a78e6a4bf707f6c36ca458f84a02673fa (diff)
Formerly dir-lookup.c.~2~
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-lookup.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c
index 8e5485b3..73ccb0c7 100644
--- a/libdiskfs/dir-lookup.c
+++ b/libdiskfs/dir-lookup.c
@@ -62,7 +62,8 @@ diskfs_S_dir_lookup (struct protid *dircred,
path++;
*returned_port_poly = MACH_MSG_TYPE_MAKE_SEND;
- *retry = FS_RETRY_NONE;
+ *retry = FS_RETRY_NORMAL;
+ retryname[0] = '\0';
if (path[0] == '\0')
{
@@ -259,8 +260,6 @@ diskfs_S_dir_lookup (struct protid *dircred,
arrange to have a correct repeat call made. */
if (!error && !lastcomp)
{
- if (*retry == FS_RETRY_NONE)
- *retry = FS_RETRY_NORMAL;
strcat (retryname, "/");
strcat (retryname, nextname);
}