Skip to content

Commit

Permalink
Do not check application level locks when changing grants
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed Jan 19, 2024
1 parent aa54276 commit 28dd985
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/storage/utils/decomposedfs/grants.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,6 @@ func (fs *Decomposedfs) loadGrant(ctx context.Context, ref *provider.Reference,
}

func (fs *Decomposedfs) storeGrant(ctx context.Context, n *node.Node, g *provider.Grant) error {
// check lock
if err := n.CheckLock(ctx); err != nil {
return err
}

var spaceType string
spaceGrant := ctx.Value(utils.SpaceGrant)
// this is not a grant on a space root we are just adding a share
Expand Down

0 comments on commit 28dd985

Please sign in to comment.