* 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:
@ -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
|
||||
|
Reference in New Issue
Block a user