From nobody Thu Oct 2 19:03:41 2025 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A9DFA1A23BE for ; Sat, 13 Sep 2025 01:19:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757726375; cv=none; b=rK4eYAe6Njk9iDkMGEmndXZvtpgLwxxL8+2EYNm5iLXSFzMvwcZMBHrPwypYJ/YHzB9fe7veoBdzTLxWjk2FLORhvNd20/ndwWHiNWn4HOgFNF+aoEDuz68MFayQsXC07djcha4JLs5Ge5QdxrWDvs94gumeA0zuLfXxBEDzEMo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757726375; c=relaxed/simple; bh=0dZBfgRsarIoSXxUVt0yhSx8VT0ilXZcRzH3UEVxVxY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=E68ljv0wItd3NHhW7Yf2NO4FPE/SbGYwvOcSiXkiuVprey53+ZUUSdwkt+LT2tne/zTPQdfIHOVm6l3wVEn2mDLYAYd4j6mnniDM4z+Ihkgebe1TeqAGRUx//h0u5GKJeo8Utzypumq27RyWr6TxJ8CbpI+h/VK/Pp5tZaHKhqk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=JdasfyAT; arc=none smtp.client-ip=209.85.218.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JdasfyAT" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-b07c38680b3so228178266b.1 for ; Fri, 12 Sep 2025 18:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1757726370; x=1758331170; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=01GQX+A5wcxVOfa45EtHUSgPI4YB4B2sFvA+zw7J76I=; b=JdasfyATZKgVuDGioUqz8M95vHmUjDA0X+pQzxpf/9WU/t+U6Kr5Hnn8A/pwyQbEEj tG9d5C4koMLr9jbbHvOg3kmOIpnqmXdSH9FzLhmDOw7FKaw9Ew5j+I2E2DqtaAF0kBLZ 78wviOrJLl+vWbv0yCaEb7FNWVwdYcrEt3ieIj7Euu12bhdJuyE+iXc5Pb1FYjgjb8hF cX5p4CCG19iBqFwJotgYe++od9U/7qY0/+Gz7PK70bhGuzPjXacGCU6LuDPtHZleKndu uaVp9WGOG3lboi/Y241AWiDrohHR47mki0UFwavjwS1g6Qe4yDpW5hurcQZvXGxBtRDc ssdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757726370; x=1758331170; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=01GQX+A5wcxVOfa45EtHUSgPI4YB4B2sFvA+zw7J76I=; b=mUkkVjHree1ITOuYOxBaki10MD+sPI8Vp2/l0UuRtKIx1SFgpGnYpzjUZRVM2bTq1M CEw1Kyas/mfv+eCIRMkXyaQKtmH0jeia83+Ck+gtQd9gU/mImHXb1BByapoP/72cGgar g6ehyDKr3fmpJ8Y6b4axEYPhgo/5bGpNoq2FlIm6S90Hl/aU2ir24eJzuVNwh/ceKMq1 lQZ9xMZC6mkyPVHT7mN61YWHpRS6XKRf5wC+Oyu9lQQv3gsK2NT4lWVxAAxbGSo9TwXW Jc3ftYulN1Vq8OzLqYAefKEH3lxehfTr1MCgMTrf+8y0D4eSYMzp30x04WJtLOtMHGn+ LrAA== X-Forwarded-Encrypted: i=1; AJvYcCU5HQG1/FXyc7xunFPEfhdrrvThWtYC3NRlKLmbvgS+lHF1FJeXB9eDfq1AKZ1bh+rm3ftq3JT1fmiMyw8=@vger.kernel.org X-Gm-Message-State: AOJu0YwQMSzOG/VOWPjfTi/8yWUGpnc+HSSzOM5IifwIZUCUa+gDnyv8 lQ2vJE94P1m0f4tLAoCFGYJdN+v+f4pGxwN67kzdE4hi8fgMwv40EuAD X-Gm-Gg: ASbGnctEIBNTQtFOL1skupvKYoyClOkcCBMciYDJJtBouPErx0qiyfnlR/UrRcKzDRj +A6iYRU/WTvyaXc0r1BX0hHyGoLhAhtJmuLSK0flOcUmlR1khCvahApJRbK6XG/KmPLlFZLLqM6 ak0aJS+Y0V2vPyaoLvO6pGn2RVfTcuXZZVDboVDgkJP6UZC34Yj5S6KMlRSgQ6i4wpYM9udJPwl Qz/XiHfy/T2EekgQ1B6P202tI6uBwThNYmiTVoqttCRJkirrUjKwPr5HypIFzwG1D81UwxYBf41 9mGMGRRfw/+ZDdW+egf2II8B5Cg8pDDgvxfLwETvMqma4hXHDmcdKLZwIXghbuZmSikRKuVLib/ GRgfspU+Db7zkp3lN6weBx0WFRMTHVg== X-Google-Smtp-Source: AGHT+IEzeVwYKpSq5hVwsza+AqQmwMGGceGxnApLyMFPwDCsoulMW4PoMJQ37ACnH/5BZ1euJLookQ== X-Received: by 2002:a17:906:2493:b0:b04:9822:1ab4 with SMTP id a640c23a62f3a-b07c35fb2e4mr458597866b.27.1757726369974; Fri, 12 Sep 2025 18:19:29 -0700 (PDT) Received: from localhost ([212.73.77.104]) by smtp.gmail.com with UTF8SMTPSA id a640c23a62f3a-b07b32dd5bfsm465661666b.63.2025.09.12.18.19.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Sep 2025 18:19:29 -0700 (PDT) From: Askar Safin To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Torvalds , Greg Kroah-Hartman , Christian Brauner , Al Viro , Jan Kara , Christoph Hellwig , Jens Axboe , Andy Shevchenko , Aleksa Sarai , =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , Julian Stecklina , Gao Xiang , Art Nikpal , Andrew Morton , Eric Curtin , Alexander Graf , Rob Landley , Lennart Poettering , linux-arch@vger.kernel.org, linux-alpha@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-openrisc@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, x86@kernel.org, Ingo Molnar , linux-block@vger.kernel.org, initramfs@vger.kernel.org, linux-api@vger.kernel.org, linux-doc@vger.kernel.org, linux-efi@vger.kernel.org, linux-ext4@vger.kernel.org, "Theodore Y . Ts'o" , linux-acpi@vger.kernel.org, Michal Simek , devicetree@vger.kernel.org, Luis Chamberlain , Kees Cook , Thorsten Blum , Heiko Carstens , patches@lists.linux.dev Subject: [PATCH RESEND 36/62] init: make mount_root static Date: Sat, 13 Sep 2025 00:38:15 +0000 Message-ID: <20250913003842.41944-37-safinaskar@gmail.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250913003842.41944-1-safinaskar@gmail.com> References: <20250913003842.41944-1-safinaskar@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is cleanup after initrd removal Signed-off-by: Askar Safin --- init/do_mounts.c | 2 +- init/do_mounts.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/init/do_mounts.c b/init/do_mounts.c index c722351c991f..7ec5ee5a5c19 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -381,7 +381,7 @@ static inline void mount_block_root(char *root_device_n= ame) } #endif /* CONFIG_BLOCK */ =20 -void __init mount_root(char *root_device_name) +static void __init mount_root(char *root_device_name) { switch (ROOT_DEV) { case Root_NFS: diff --git a/init/do_mounts.h b/init/do_mounts.h index f291c30f7407..90422fb07c02 100644 --- a/init/do_mounts.h +++ b/init/do_mounts.h @@ -12,7 +12,6 @@ #include #include =20 -void mount_root(char *root_device_name); extern int root_mountflags; =20 /* Ensure that async file closing finished to prevent spurious errors. */ --=20 2.47.2