Skip to content

Commit

Permalink
Fix size propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed Aug 8, 2024
1 parent 349da60 commit a4ca625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/fs/posix/tree/assimilation.go
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ assimilate:
attributes.SetInt64(prefixes.BlobsizeAttr, fi.Size())

// propagate the size change
sizeDiff := fi.Size()
sizeDiff = fi.Size()
if previousAttribs != nil && previousAttribs[prefixes.BlobsizeAttr] != nil {
oldSize, err := attributes.Int64(prefixes.BlobsizeAttr)
if err == nil {
Expand Down

0 comments on commit a4ca625

Please sign in to comment.