Import ncpfs 0.19

This commit is contained in:
ncpfs archive import
2026-04-28 20:39:57 +02:00
parent d5ac4601b1
commit 0520c1d2f7
45 changed files with 2872 additions and 759 deletions

View File

@@ -723,6 +723,11 @@ ncp_find_dir_inode(struct inode *dir, const char *name)
if ( (result->dir->finfo.i.DosDirNum == dir_info->DosDirNum)
&& (result->dir->finfo.i.volNumber == dir_info->volNumber)
&& (strcmp(result->finfo.i.entryName, name) == 0)
/* The root dir is never looked up using this
* routine. Without the following test a root
* directory 'sys' in a volume named 'sys' could
* never be looked up, because
* server->root->dir==server->root. */
&& (result != &(server->root)))
{
return result;