diff options
Diffstat (limited to 'libdiskfs/dir-lookup.c')
-rw-r--r-- | libdiskfs/dir-lookup.c | 5 |
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); } |