From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 03E271FF16F for ; Fri, 15 Nov 2024 14:44:04 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 0AAB614A5E; Fri, 15 Nov 2024 14:44:07 +0100 (CET) Message-ID: Date: Fri, 15 Nov 2024 14:44:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Dominik Csapak , Proxmox VE development discussion References: <20241114093226.814530-1-d.csapak@proxmox.com> <20241114093226.814530-5-d.csapak@proxmox.com> <9eb64fa0-7add-4994-8419-1310978e2b8e@proxmox.com> Content-Language: en-GB From: Fiona Ebner In-Reply-To: <9eb64fa0-7add-4994-8419-1310978e2b8e@proxmox.com> X-SPAM-LEVEL: Spam detection results: 0 AWL -0.055 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH storage v5 04/12] ovf: improve and simplify path checking code X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" T24gMTUuMTEuMjQgMjozOSBQTSwgRG9taW5payBDc2FwYWsgd3JvdGU6DQo+IE9uIDExLzE1LzI0 IDE0OjM1LCBGaW9uYSBFYm5lciB3cm90ZToNCj4+IE9uIDE0LjExLjI0IDEwO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