aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/weedfs_xattr.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-08-04 01:35:18 -0700
committerchrislu <chris.lu@gmail.com>2022-08-04 01:35:18 -0700
commitbd13a7968f9cc7620f19511e896c6e0099ff7f86 (patch)
tree91f207be11316c9e8c137f20cd537a9a2a4d3a28 /weed/mount/weedfs_xattr.go
parent88945d99546dda6a5f92c910aa86ca91e050873a (diff)
downloadseaweedfs-bd13a7968f9cc7620f19511e896c6e0099ff7f86.tar.xz
seaweedfs-bd13a7968f9cc7620f19511e896c6e0099ff7f86.zip
remove unused symlink resolving
Diffstat (limited to 'weed/mount/weedfs_xattr.go')
-rw-r--r--weed/mount/weedfs_xattr.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/weed/mount/weedfs_xattr.go b/weed/mount/weedfs_xattr.go
index e202b77b0..fbfd6fca7 100644
--- a/weed/mount/weedfs_xattr.go
+++ b/weed/mount/weedfs_xattr.go
@@ -36,7 +36,7 @@ func (wfs *WFS) GetXAttr(cancel <-chan struct{}, header *fuse.InHeader, attr str
return 0, fuse.EINVAL
}
- _, _, entry, _, status := wfs.maybeReadEntry(header.NodeId, false)
+ _, _, entry, status := wfs.maybeReadEntry(header.NodeId)
if status != fuse.OK {
return 0, status
}
@@ -102,7 +102,7 @@ func (wfs *WFS) SetXAttr(cancel <-chan struct{}, input *fuse.SetXAttrIn, attr st
}
}
- path, fh, entry, _, status := wfs.maybeReadEntry(input.NodeId, false)
+ path, fh, entry, status := wfs.maybeReadEntry(input.NodeId)
if status != fuse.OK {
return status
}
@@ -143,7 +143,7 @@ func (wfs *WFS) ListXAttr(cancel <-chan struct{}, header *fuse.InHeader, dest []
return 0, fuse.Status(syscall.ENOTSUP)
}
- _, _, entry, _, status := wfs.maybeReadEntry(header.NodeId, false)
+ _, _, entry, status := wfs.maybeReadEntry(header.NodeId)
if status != fuse.OK {
return 0, status
}
@@ -180,7 +180,7 @@ func (wfs *WFS) RemoveXAttr(cancel <-chan struct{}, header *fuse.InHeader, attr
if len(attr) == 0 {
return fuse.EINVAL
}
- path, fh, entry, _, status := wfs.maybeReadEntry(header.NodeId, false)
+ path, fh, entry, status := wfs.maybeReadEntry(header.NodeId)
if status != fuse.OK {
return status
}