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 38b71cb commit c0de1b1
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 c0de1b1

Please sign in to comment.