mount: hide /etc folder also from mount

This commit is contained in:
Chris Lu 2021-07-22 00:40:16 -07:00
parent 7359193e97
commit 84d91f143f

View file

@ -43,5 +43,5 @@ func EnsureVisited(mc *MetaCache, client filer_pb.FilerClient, dirPath util.Full
}
func IsHiddenSystemEntry(dir, name string) bool {
return dir == "/" && name == "topics"
return dir == "/" && (name == "topics" || name == "etc")
}