* fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop generating

path_conv for root.
This commit is contained in:
Corinna Vinschen
2006-02-19 08:34:25 +00:00
parent 408b92dbb5
commit d4e9248df3
2 changed files with 5 additions and 1 deletions

View File

@ -1409,7 +1409,6 @@ fhandler_disk_file::opendir ()
DIR *dir;
DIR *res = NULL;
size_t len;
path_conv rootdir ("/", PC_POSIX);
if (!pc.isdir ())
set_errno (ENOTDIR);