From 78549742de0186223302f84997199a871999aded Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 27 Jan 2016 15:39:11 +0100 Subject: [PATCH] Drop has_broken_fnoi flag * mount.cc (fs_info::update): Don't set has_broken_fnoi. It's unused anyway. * mount.h (class fs_info): Remove has_broken_fnoi status flag. * path.h (class path_conv): Remove has_broken_fnoi method. Signed-off-by: Corinna Vinschen --- winsup/cygwin/mount.cc | 4 ---- winsup/cygwin/mount.h | 2 -- winsup/cygwin/path.h | 1 - 3 files changed, 7 deletions(-) diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc index df96c2dc2..569328fd7 100644 --- a/winsup/cygwin/mount.cc +++ b/winsup/cygwin/mount.cc @@ -431,10 +431,6 @@ fs_info::update (PUNICODE_STRING upath, HANDLE in_vol) only support this if the filename is non-null and the handle is the handle to a directory. NcFsd IR10 is supposed to be ok. */ has_buggy_reopen (is_netapp () || is_nwfs ()); - /* Netapp and Parallels Desktop FS have problems with the - FileNetworkOpenInformation info class. Netapp doesn't - implement it at all, Parallels always returns a size of 0. */ - has_broken_fnoi (is_netapp () || is_prlfs ()); } } if (!got_fs () diff --git a/winsup/cygwin/mount.h b/winsup/cygwin/mount.h index c78fbc137..172a0b03b 100644 --- a/winsup/cygwin/mount.h +++ b/winsup/cygwin/mount.h @@ -76,7 +76,6 @@ class fs_info unsigned has_buggy_fileid_dirinfo : 1; unsigned has_buggy_basic_info : 1; unsigned has_dos_filenames_only : 1; - unsigned has_broken_fnoi : 1; } status; ULONG sernum; /* Volume Serial Number */ char fsn[80]; /* Windows filesystem name */ @@ -102,7 +101,6 @@ class fs_info IMPLEMENT_STATUS_FLAG (bool, has_buggy_fileid_dirinfo) IMPLEMENT_STATUS_FLAG (bool, has_buggy_basic_info) IMPLEMENT_STATUS_FLAG (bool, has_dos_filenames_only) - IMPLEMENT_STATUS_FLAG (bool, has_broken_fnoi) IMPLEMENT_FS_FLAG (fat) IMPLEMENT_FS_FLAG (ntfs) IMPLEMENT_FS_FLAG (refs) diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 730f943c9..23139a643 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -158,7 +158,6 @@ class path_conv int has_buggy_reopen () const {return fs.has_buggy_reopen ();} int has_buggy_fileid_dirinfo () const {return fs.has_buggy_fileid_dirinfo ();} int has_buggy_basic_info () const {return fs.has_buggy_basic_info ();} - int has_broken_fnoi () const {return fs.has_broken_fnoi ();} int binmode () const { if (path_flags & PATH_BINARY)