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 <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2016-01-27 15:39:11 +01:00
parent d9accb0079
commit 78549742de
3 changed files with 0 additions and 7 deletions

View File

@ -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 ()

View File

@ -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)

View File

@ -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)