Make root dir have at least one link. Otherwise samba did not see it correctly.

This commit is contained in:
braga
2006-04-12 18:50:58 +00:00
parent 4d7d375122
commit ea3b34c516

View File

@@ -164,6 +164,7 @@ int parse_dir(const char* list, const char* dir,
sbuf->st_mode |= S_IFDIR;
sbuf->st_mode |= 0755;
sbuf->st_size = 1024;
sbuf->st_nlink = 1;
return 0;
}