* vfs/direntry.c (vfs_s_inode_from_path): Do not give up if a given path

does not exist in the directory cache. In such scenario use the underlying
vfs to determine whether the path exists or not.
This commit is contained in:
Pavel Tsekov 2006-03-23 12:36:10 +00:00
parent 76cf84bb69
commit 06b721a44c
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2006-03-23 Pavel Tsekov <ptsekov@gmx.net>
* direntry.c (vfs_s_inode_from_path): Do not give up if a given path
does not exist in the directory cache. In such scenario use the
underlying vfs to determine whether the path exists or not.
2006-03-19 Leonard den Ottolander <leonard den ottolander nl>
* extfs/deb.in (mcdebfs_list): Output three date fields, not four.

View File

@ -581,8 +581,7 @@ 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) && (!*q))
/* We are asking about / directory of ftp server: assume it exists */
if (!ino)
ino =
vfs_s_find_inode (me, super, q,
flags & FL_FOLLOW ? LINK_FOLLOW :