update reva to latest edge

This commit is contained in:
Michael Barz
2023-05-15 14:14:51 +02:00
parent 55278fd1e4
commit 90aca2d2fc
5 changed files with 25 additions and 39 deletions
+3 -3
View File
@@ -897,7 +897,7 @@ func (fs *Decomposedfs) storageSpaceFromNode(ctx context.Context, n *node.Node,
&provider.Reference{
ResourceId: &provider.ResourceId{
SpaceId: n.SpaceRoot.SpaceID,
OpaqueId: n.ID},
OpaqueId: n.SpaceRoot.ID},
},
)
if err != nil {
@@ -923,7 +923,7 @@ func (fs *Decomposedfs) storageSpaceFromNode(ctx context.Context, n *node.Node,
Id: &provider.StorageSpaceId{OpaqueId: ssID},
Root: &provider.ResourceId{
SpaceId: n.SpaceRoot.SpaceID,
OpaqueId: n.ID,
OpaqueId: n.SpaceRoot.ID,
},
Name: sname,
// SpaceType is read from xattr below
@@ -974,7 +974,7 @@ func (fs *Decomposedfs) storageSpaceFromNode(ctx context.Context, n *node.Node,
Value: []byte(etag),
}
spaceAttributes, err := n.Xattrs()
spaceAttributes, err := n.SpaceRoot.Xattrs()
if err != nil {
return nil, err
}