Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp298373rdb; Thu, 22 Feb 2024 04:19:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV005p1KF0pyegdRTMqpMkf2KkmctckVY8Mm5RH0+DkSwFV0cm6TbvQAk325h3MPn32BIqsFfAUNLWbZZydhJ1zFAzOV2B8vO9tU6awUQ== X-Google-Smtp-Source: AGHT+IEaoVQ7KFmAI6jKFARTiWIXUBvegdAnKXwGx42FiwjPj+LobiEODwyFdFO+8LfiyuQ3d9yk X-Received: by 2002:a05:622a:2698:b0:42d:d502:5ad3 with SMTP id kd24-20020a05622a269800b0042dd5025ad3mr18011753qtb.1.1708604345896; Thu, 22 Feb 2024 04:19:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708604345; cv=pass; d=google.com; s=arc-20160816; b=YnyuG3HEHzhJiNUQSffbftFbngyH9QkSNiwc6UPWbRu7j86IPhKSS9q0t7iBXrW5qh +dt+F1N2xVmsQldWBZyBmqcRsXAnI9aLjBwZU09lIhlE7XSkw4n2VutI02jfH3aMvcMH ulDUCbdgw0l16wEMvmRO3bgPDzFHFcJu0H3pd1+WYxTusE1fqaOSR0lE1VYkyExohVvr ZATqSP+UhtZXbawKXFjMqV8JQZL5eHcaaboXaFs/piddMdddp5m2gLTRhAqJzdh0J36K /pFOCvTEhwcrNfa0YmaDOGt41PgWOzwFXMsUCiN3Y4lF6YLzTxxxf30l+mAIkrITH1k/ ObnQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=RybAO6UjF9rQEJ8FIGv7KnXw6IFw6ds7eywLmrx2Vw0=; fh=X1/oBJvTGJUQ0YtRp03u+3tPfRw/dXXALWynfOSlfQQ=; b=zwUPcOc2jXXWOu0mp/yPV9KxxoskQC0QjjgAYqgwqzh57WL6RTOMES5VguXfgqgCuA M4Qs+p6iCzs4j3S2xhkc9yoeeNHylpcAxJ6BBbEchpGga918WCPmaBMfm1cntvyPMd0d +toz3rYtVDR3uBewqnczffAPZ+IDN43uQ7bvELKI+cgLUnBtI1PEaYIZgjvCLsW3C4J4 cw0wCQp0nqi4cgA8xa3AuTKZ2Budd8cvre4rFnoTTKOH/fc8KrhiMY17/TsUBkqOGq1k SnL0NNVP01Xj/Jn5HVruAD9i3bErIXzIU5l9OavJGVu8GurKdSiwBbH3rjZJkxEs7lok SfWQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bT18rqCL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-76495-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76495-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d11-20020ac8544b000000b0042df16121a9si12093489qtq.134.2024.02.22.04.19.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 04:19:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76495-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bT18rqCL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-76495-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76495-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A429E1C2228D for ; Thu, 22 Feb 2024 12:19:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C77BF60873; Thu, 22 Feb 2024 12:18:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bT18rqCL" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD6345FBA2 for ; Thu, 22 Feb 2024 12:18:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708604338; cv=none; b=CxHBmeRcM4Sf/PkDCtm0w6uTYlsnnrlj0wUdGE40uRxYzZNc6RKInU0k8aufNIL3jdixJtXXfyI2t3Jp5dnbjuF0Dl9SfdmN66SLozg55vUZ/QtJCB/eITGsoTzI6EThlYMAhbHtwjDJ1GtiuhU6AotOVz64D1lp7UHyKRxGN/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708604338; c=relaxed/simple; bh=hBevzcQ0912uhBWtG4E7Up+PFldcF2IwczOHh20Evtc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=qP/FIZv3VojAM3heMePkaCyWPc6bNFGmQWBVTJFYRH8T+sB7FrVlVsCByynuX65gQOXaARVZcooVSvqyENjugPXdMKvOAtG4Ne6bhMV7hU2FKGYDlk/djjsGaM3g7FOcWXBm3ClByW9F7IdQkXfZI1InCj/HpHpwPgWKCvSH8Ns= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bT18rqCL; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FF62C433F1; Thu, 22 Feb 2024 12:18:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708604337; bh=hBevzcQ0912uhBWtG4E7Up+PFldcF2IwczOHh20Evtc=; h=From:To:Cc:Subject:Date:From; b=bT18rqCLQzC7YSmZJAXDveVoZqPTAt+O/d3Ye19a9zklautaxeoKEXQO7eWGIEKVj eN84vFJ8FaO43JUq90P4gF+oabMZlJujN2Q4njfa9qQbqJmalW5EAEjNzIZJOG1RLd u3epzZPURBhSezX3nA2z7UGiaGNmRoS5sLXp8aMzf1JkDJ4RO/ZbYGm0FsZnQddXl6 9/GiVQv1eAgOKAFqfX2nI1s++S8PGQMXSPEPAPbL3l17HnLYU99Lu/ZQYbtV1GrEPJ hgK9pUyPxvZJ8szMAoZPQAa6KdGSWXqOitm7anO/ztW5I9HeLvixbtlxTyJ4nJaU3N FkyaaBqAsMJ0g== From: Chao Yu To: jaegeuk@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Chao Yu Subject: [PATCH 1/4] f2fs: delete f2fs_get_new_segment() declaration Date: Thu, 22 Feb 2024 20:18:48 +0800 Message-Id: <20240222121851.883141-1-chao@kernel.org> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Commit 093749e296e2 ("f2fs: support age threshold based garbage collection") added this declaration, but w/ definition, delete it. Signed-off-by: Chao Yu --- fs/f2fs/f2fs.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 8a6fd4352a0e..fbbe9a0a4221 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -3701,8 +3701,6 @@ bool f2fs_segment_has_free_slot(struct f2fs_sb_info *sbi, int segno); void f2fs_init_inmem_curseg(struct f2fs_sb_info *sbi); void f2fs_save_inmem_curseg(struct f2fs_sb_info *sbi); void f2fs_restore_inmem_curseg(struct f2fs_sb_info *sbi); -void f2fs_get_new_segment(struct f2fs_sb_info *sbi, - unsigned int *newseg, bool new_sec, int dir); void f2fs_allocate_segment_for_resize(struct f2fs_sb_info *sbi, int type, unsigned int start, unsigned int end); int f2fs_allocate_new_section(struct f2fs_sb_info *sbi, int type, bool force); -- 2.40.1