From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E8B3C158089 for ; Sat, 28 Oct 2023 16:23:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 207D02BC013; Sat, 28 Oct 2023 16:23:13 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 072872BC013 for ; Sat, 28 Oct 2023 16:23:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B45A335C11 for ; Sat, 28 Oct 2023 16:23:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 78B5611E3 for ; Sat, 28 Oct 2023 16:23:10 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1698510055.f2698cdae92237d5b631877b5dba4f46cd5cdfcd.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/monitoring-plugins/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/monitoring-plugins/files/monitoring-plugins-fix-check-disk-on-btrfs.patch X-VCS-Directories: net-analyzer/monitoring-plugins/files/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: f2698cdae92237d5b631877b5dba4f46cd5cdfcd X-VCS-Branch: master Date: Sat, 28 Oct 2023 16:23:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8e8736ba-b3e8-4b3e-9fb7-63f49b9d7238 X-Archives-Hash: ac36625aa89ad68164a985c503141ecb commit: f2698cdae92237d5b631877b5dba4f46cd5cdfcd Author: Michael Mair-Keimberger levelnine at> AuthorDate: Fri Oct 27 05:22:58 2023 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Sat Oct 28 16:20:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2698cda net-analyzer/monitoring-plugins: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/33534 Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Michael Orlitzky gentoo.org> .../monitoring-plugins-fix-check-disk-on-btrfs.patch | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/net-analyzer/monitoring-plugins/files/monitoring-plugins-fix-check-disk-on-btrfs.patch b/net-analyzer/monitoring-plugins/files/monitoring-plugins-fix-check-disk-on-btrfs.patch deleted file mode 100644 index cbd458372133..000000000000 --- a/net-analyzer/monitoring-plugins/files/monitoring-plugins-fix-check-disk-on-btrfs.patch +++ /dev/null @@ -1,20 +0,0 @@ -https://bugs.gentoo.org/830249 -https://github.com/monitoring-plugins/monitoring-plugins/issues/1357 -https://github.com/monitoring-plugins/monitoring-plugins/commit/e17c1e9ed95b8b9681dccd5a909ac5a02a04416c - -diff --git a/plugins/check_disk.c b/plugins/check_disk.c -index 844e625f..a2735195 100644 ---- a/plugins/check_disk.c -+++ b/plugins/check_disk.c -@@ -1068,10 +1068,7 @@ get_stats (struct parameter_list *p, struct fs_usage *fsp) { - - void - get_path_stats (struct parameter_list *p, struct fs_usage *fsp) { -- /* 2007-12-08 - Workaround for Gnulib reporting insanely high available -- * space on BSD (the actual value should be negative but fsp->fsu_bavail -- * is unsigned) */ -- p->available = fsp->fsu_bavail > fsp->fsu_bfree ? 0 : fsp->fsu_bavail; -+ p->available = fsp->fsu_bavail; - p->available_to_root = fsp->fsu_bfree; - p->used = fsp->fsu_blocks - fsp->fsu_bfree; - if (freespace_ignore_reserved) {