From 7017ffa2a3a7af7cfc53ac05e23a431cd105715e Mon Sep 17 00:00:00 2001 From: niksis02 Date: Wed, 28 Jan 2026 21:12:56 +0400 Subject: [PATCH] fix: removes object metadata loading from posix ListParts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the POSIX `ListParts` implementation, there was a code snippet that loaded the object metadata, even though it wasn’t needed and never used in the response. This redundant code has now been removed. --- backend/posix/posix.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/posix/posix.go b/backend/posix/posix.go index 88f0e15..492c44f 100644 --- a/backend/posix/posix.go +++ b/backend/posix/posix.go @@ -2462,10 +2462,6 @@ func (p *Posix) ListParts(ctx context.Context, input *s3.ListPartsInput) (s3resp nextpart = parts[len(parts)-1].PartNumber } - userMetaData := make(map[string]string) - upiddir := filepath.Join(objdir, uploadID) - p.loadObjectMetaData(nil, bucket, upiddir, nil, userMetaData) - return s3response.ListPartsResult{ Bucket: bucket, IsTruncated: oldLen != newLen,