From patchwork Thu Apr 4 00:29:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Salvaterra X-Patchwork-Id: 1919444 X-Patchwork-Delegate: rsalvaterra@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=M7leU3Oh; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=LS3d00eR; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V92bV5n8Bz1yZH for ; Thu, 4 Apr 2024 11:31:02 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Pvy8+4a2f+JJUvy/hkVx7yLqasRX6blwOpSmoRRqlY0=; b=M7leU3OhS38/lf 5OG1doubqUCio1eQZhE3rh3jB8xWb+vkBiIWIKxcEJwfPSjz2S4aKTxmjqo0T3hl1IB7okDZhWR6e kCqqvczg3sbc60MWchQCPcgdmyzsB1coi/RouG9WM0+sR0Op73098XHxXYygeRz3mzzc3gKsMXdxv V91/vSoC0jLD6OFrvV7Gc7xj7j0t3SV+3ggZWc/pPYtqPEk2Npwp9GOHzN/12jSWCp2ZX8HYOgtjg IExgLz+GqKgwYRaBDSACV4bVzJA3OI1Kz1g9QLNxJT3elsvE8T8NuzghPFXw0+Pidri7do7w3cHvM /pF+758eWMEbkDBt+hcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsAzT-00000000m5E-1Knw; Thu, 04 Apr 2024 00:30:03 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsAzP-00000000m3H-3Xb0 for openwrt-devel@lists.openwrt.org; Thu, 04 Apr 2024 00:30:01 +0000 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4162ad6453aso151855e9.0 for ; Wed, 03 Apr 2024 17:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712190593; x=1712795393; darn=lists.openwrt.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=53Z2cKjai5rMwWgq2vaQcMm2ew4V0okTsX0xbj5AUY8=; b=LS3d00eRNRxGToq6Z9uvONmsf7qe38HSRltmjHVseJFH+j3expN+IquEZqCzqDajYa sgUGWfCNW70IWUwQMNkLAXzkyoFL62ddgyyRP5GPv62QVGszRh8jqr1czs02jCyerhcg ZrTuO/QZySY+E5qpxMZz+wwEpTP+btzfAANdXrVacyZ6NcXNC76j7666UcckUcyzhwmH bL4m6jp5R3YW0sNZG2LTiY3G5e3kBTEde/9S4KoneuDCBaddnj4tgJXkjk1M197VCFll q0oBzu5sJnfGQtczVqtBHaxzmBtkWyZa6S72hbnpxduj65W2qvxKX/uVURyShHYR/NIr PSSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712190593; x=1712795393; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=53Z2cKjai5rMwWgq2vaQcMm2ew4V0okTsX0xbj5AUY8=; b=U0LF6aNrWiozsL4OCaigH0HOZVG4f5cKFHI8fMWogVsShmitHps7wauVwwuhW0X7be MzFj6vr5nbmjxo3mQ2MvoK62fdhpFmZMCgtRR/4mvx5OmXud6AhRZEoGG1gEzSmywOdm 2aLKGK2jZJUYinRF1Cy18EqJCKHaEtDHcsGIxcQxGZa/pXsOT3XJNIoGBsmN92MNLxKj iHFER4O3A6f1i1vsUSzXozMRMZBoWzA3HfiQOfUnpXyKeEtbJEd/jnPpbculIv6MPPIe SVcA9ZQTJkwYXXkjZFi0JOpflT7n/RxUkod1t1RgDC3NipGOZOGNrsCR8BMulXl4FPq/ fvRg== X-Gm-Message-State: AOJu0YyhOIF7Oa8+1+n4AS6Asw3AhCjFcdxRyPUdl3nAxGXRPREIXjx7 EQzNLmHskC+Wn8iAr1zwj2rh3tyhf3OWs4KZdn53ufafq4cUSrc= X-Google-Smtp-Source: AGHT+IHy9n2EGnthRgrDQi4Ty1x+hq4Dy1S+wgn5W65wWSRq7vyT0PBueVn8GQpwbtLfikDx9tO5vg== X-Received: by 2002:a7b:cc96:0:b0:415:8651:9b8e with SMTP id p22-20020a7bcc96000000b0041586519b8emr734337wma.39.1712190592780; Wed, 03 Apr 2024 17:29:52 -0700 (PDT) Received: from phoenix.rocket.std.internal (a95-94-71-60.cpe.netcabo.pt. [95.94.71.60]) by smtp.gmail.com with ESMTPSA id fl15-20020a05600c0b8f00b0041621b3cfa8sm708445wmb.6.2024.04.03.17.29.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 17:29:52 -0700 (PDT) From: Rui Salvaterra To: daniel@makrotopia.org Cc: openwrt-devel@lists.openwrt.org, Rui Salvaterra Subject: [PATCH v2] fstools: remove redundant F2FS_MINSIZE definition Date: Thu, 4 Apr 2024 01:29:33 +0100 Message-ID: <20240404002932.696799-2-rsalvaterra@gmail.com> X-Mailer: git-send-email 2.43.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_172959_920450_8D2A797C X-CRM114-Status: UNSURE ( 8.14 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: It's defined in common.h, which rootdisk.c also includes. Remove the redundant definition from the latter. Signed-off-by: Rui Salvaterra --- libfstools/rootdisk.c | 1 - 1 file changed, 1 deletion(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:32f listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rsalvaterra(at)gmail.com] X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org It's defined in common.h, which rootdisk.c also includes. Remove the redundant definition from the latter. Signed-off-by: Rui Salvaterra --- libfstools/rootdisk.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libfstools/rootdisk.c b/libfstools/rootdisk.c index ba7d8c3..910899a 100644 --- a/libfstools/rootdisk.c +++ b/libfstools/rootdisk.c @@ -16,7 +16,6 @@ #include #define ROOTDEV_OVERLAY_ALIGN (64ULL * 1024ULL) -#define F2FS_MINSIZE (100ULL * 1024ULL * 1024ULL) struct squashfs_super_block { uint32_t s_magic;