Formatted

This commit is contained in:
aneesh-n 2024-08-04 10:36:13 -06:00
parent 9dedba6dfc
commit 89712f6640
No known key found for this signature in database
GPG key ID: 6F5A52831C046F44

View file

@ -364,11 +364,13 @@ func (node *Node) fillGenericAttributes(path string, fi os.FileInfo, stat *statT
// Also do not allow processing of extended attributes for ADS.
return false, nil
}
volumeName := filepath.VolumeName(path)
allowExtended, err = checkAndStoreEASupport(volumeName)
if err != nil {
return false, err
}
if strings.HasSuffix(filepath.Clean(path), `\`) {
// filepath.Clean(path) ends with '\' for Windows root volume paths only
// Do not process file attributes, created time and sd for windows root volume paths