]> sourceware.org Git - newlib-cygwin.git/commitdiff
cygwin: unlink: drop redundant check for netapp FS
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 18 Oct 2017 14:13:48 +0000 (16:13 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 18 Oct 2017 14:13:48 +0000 (16:13 +0200)
The try_to_bin function isn't called for netapp FSes anyway, so testing
for this FS type in the function is moot.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/syscalls.cc

index 63563ea2579830dbac88a8a2cfad1073a897eae2..8ff50c8506f007381c779994a1355837d648c66e 100644 (file)
@@ -374,7 +374,7 @@ try_to_bin (path_conv &pc, HANDLE &fh, ACCESS_MASK access, ULONG flags)
      names. */
   RtlAppendUnicodeToString (&recycler,
                            (pc.fs_flags () & FILE_UNICODE_ON_DISK
-                            && !pc.fs_is_samba () && !pc.fs_is_netapp ())
+                            && !pc.fs_is_samba ())
                            ? L".\xdc63\xdc79\xdc67" : L".cyg");
   pfii = (PFILE_INTERNAL_INFORMATION) infobuf;
   /* Note: Modern Samba versions apparently don't like buffer sizes of more
This page took 0.034238 seconds and 5 git commands to generate.