aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weed/filesys/xattr.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filesys/xattr.go b/weed/filesys/xattr.go
index 473805116..4b2ee0064 100644
--- a/weed/filesys/xattr.go
+++ b/weed/filesys/xattr.go
@@ -116,7 +116,7 @@ func (wfs *WFS) maybeLoadEntry(dir, name string) (entry *filer_pb.Entry, err err
// return a valid entry for the mount root
if string(fullpath) == wfs.option.FilerMountRootPath {
return &filer_pb.Entry{
- Name: wfs.option.FilerMountRootPath,
+ Name: name,
IsDirectory: true,
Attributes: &filer_pb.FuseAttributes{
Mtime: wfs.option.MountMtime.Unix(),