[PATCH] init: fix removal warning for deprecated initrd loading

Martin Kepplinger posted 1 patch 12 months ago
init/do_mounts_initrd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] init: fix removal warning for deprecated initrd loading
Posted by Martin Kepplinger 12 months ago
This won't be removed in 2021, no matter how hard we try.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
---
 init/do_mounts_initrd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c
index 22c7f41ff642..f86ef92a6c46 100644
--- a/init/do_mounts_initrd.c
+++ b/init/do_mounts_initrd.c
@@ -89,7 +89,7 @@ static void __init handle_initrd(char *root_device_name)
 	extern char *envp_init[];
 	int error;
 
-	pr_warn("using deprecated initrd support, will be removed in 2021.\n");
+	pr_warn("using deprecated initrd support, will be removed soon.\n");
 
 	real_root_dev = new_encode_dev(ROOT_DEV);
 	create_dev("/dev/root.old", Root_RAM0);
-- 
2.39.5
Re: [PATCH] init: fix removal warning for deprecated initrd loading
Posted by Andrew Morton 12 months ago
On Wed, 18 Dec 2024 12:36:38 +0000 Martin Kepplinger <martink@posteo.de> wrote:

> This won't be removed in 2021, no matter how hard we try.
> 

man git-timetravel

> ...
>
> --- a/init/do_mounts_initrd.c
> +++ b/init/do_mounts_initrd.c
> @@ -89,7 +89,7 @@ static void __init handle_initrd(char *root_device_name)
>  	extern char *envp_init[];
>  	int error;
>  
> -	pr_warn("using deprecated initrd support, will be removed in 2021.\n");
> +	pr_warn("using deprecated initrd support, will be removed soon.\n");
>  
>  	real_root_dev = new_encode_dev(ROOT_DEV);
>  	create_dev("/dev/root.old", Root_RAM0);

Well, what's stopping us from removing initrd support?

Maybe the next step is to remove it by default, with a hard-to-find
Kconfig setting to get it back again?