* vfs/direntry.c (vfs_s_inode_from_path): Revert last change.

This commit is contained in:
Pavel Tsekov 2006-03-30 13:04:50 +00:00
parent d4c2af2154
commit 52a724a2c8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-03-30 Pavel Tsekov <ptsekov@gmx.net>
* direntry.c (vfs_s_inode_from_path): Revert last change.
2006-03-23 Pavel Tsekov <ptsekov@gmx.net>
* extfs.c (extfs_done): Free all live archives.

View File

@ -581,7 +581,8 @@ vfs_s_inode_from_path (struct vfs_class *me, const char *name, int flags)
vfs_s_find_inode (me, super, q,
flags & FL_FOLLOW ? LINK_FOLLOW : LINK_NO_FOLLOW,
flags & ~FL_FOLLOW);
if (!ino)
if ((!ino) && (!*q))
/* We are asking about / directory of ftp server: assume it exists */
ino =
vfs_s_find_inode (me, super, q,
flags & FL_FOLLOW ? LINK_FOLLOW :