fhandler_disk_file::opendir: Fix a comment

This commit is contained in:
Corinna Vinschen 2015-12-15 17:03:09 +01:00
parent 81031e6850
commit 8b7c4f67c6
1 changed files with 5 additions and 7 deletions

View File

@ -1880,13 +1880,11 @@ fhandler_disk_file::opendir (int fd)
while (!NT_SUCCESS (status)); while (!NT_SUCCESS (status));
} }
/* FileIdBothDirectoryInformation is apparently unsupported on /* FileIdBothDirectoryInformation was unsupported on XP when
XP when accessing directories on UDF. When trying to use it accessing UDF. It's not clear if the call isn't also unsupported
so, NtQueryDirectoryFile returns with STATUS_ACCESS_VIOLATION. on other OS/FS combinations. Instead of testing for yet another
It's not clear if the call isn't also unsupported on other error code, use FileIdBothDirectoryInformation only on FSes
OS/FS combinations. Instead of testing for yet another error supporting persistent ACLs.
code, let's use FileIdBothDirectoryInformation only on FSes
supporting persistent ACLs, FileBothDirectoryInformation otherwise.
NFS clients hide dangling symlinks from directory queries, NFS clients hide dangling symlinks from directory queries,
unless you use the FileNamesInformation info class. unless you use the FileNamesInformation info class.