]> sourceware.org Git - newlib-cygwin.git/commit
cygwin: readdir: don't lookup mount target inodes
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 14 Jun 2017 11:22:56 +0000 (13:22 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 14 Jun 2017 11:22:56 +0000 (13:22 +0200)
commit8eada332236791bb3757091d867d3ef5f93a13d3
treed2f7cb1246294db37f00b04d3eb05c095707954b
parent0a9edd73e3abb85162f9d79bc57cf4df1f9d8f1e
cygwin: readdir: don't lookup mount target inodes

So far Cygwin's readdir returned the inode number of a mount target
in d_ino, rather than the actual inode number of the mount point in
the underlying filesystem.  This not only results in a performance
hit if the mount target is a remote FS, it is also not done on other
POSIX systems.

Remove the code evaluating the mount target inode number.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/fhandler_disk_file.cc
This page took 0.02816 seconds and 5 git commands to generate.