* fhandler_disk_file.cc (FS_IS_SAMBA): Move out of

path_conv::hasgood_inode.
	(path_conv::is_samba): New method.
	(fhandler_base::fstat_by_handle): Don't even try to use
	FileIdBothDirectoryInformation on Samba.
	* path.h (class path_conv): Declare is_samba method.
This commit is contained in:
Corinna Vinschen
2006-02-18 10:46:53 +00:00
parent 753702223c
commit 408b92dbb5
3 changed files with 35 additions and 5 deletions

View File

@ -137,6 +137,7 @@ class path_conv
int has_acls () const {return fs.has_acls (); }
int has_symlinks () const {return path_flags & PATH_HAS_SYMLINKS;}
bool hasgood_inode (); /* Implemented in fhandler_disk_file.cc */
bool is_samba (); /* Implemented in fhandler_disk_file.cc */
int has_buggy_open () const {return fs.has_buggy_open ();}
bool isencoded () {return path_flags & PATH_ENC;}
int binmode () const