mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] init: fix removal warning for deprecated initrd loading
@ 2024-12-18 12:36 Martin Kepplinger
  2024-12-19  0:28 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Kepplinger @ 2024-12-18 12:36 UTC (permalink / raw)
  To: joel.granados, akpm; +Cc: linux-kernel, Martin Kepplinger

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] init: fix removal warning for deprecated initrd loading
  2024-12-18 12:36 [PATCH] init: fix removal warning for deprecated initrd loading Martin Kepplinger
@ 2024-12-19  0:28 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2024-12-19  0:28 UTC (permalink / raw)
  To: Martin Kepplinger; +Cc: joel.granados, linux-kernel, Christoph Hellwig

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?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-19  0:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-18 12:36 [PATCH] init: fix removal warning for deprecated initrd loading Martin Kepplinger
2024-12-19  0:28 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®