init: fix removal warning for deprecated initrd loading

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

Link: https://lkml.kernel.org/r/20241218123638.34907-1-martink@posteo.de
Signed-off-by: Martin Kepplinger <martink@posteo.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Joel Granados <joel.granados@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
Martin Kepplinger 2024-12-18 12:36:38 +00:00 committed by Andrew Morton
parent 2f75fb0e52
commit c1aa905fa1

View File

@ -89,7 +89,7 @@ static void __init handle_initrd(char *root_device_name)
extern char *envp_init[]; extern char *envp_init[];
int error; 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); real_root_dev = new_encode_dev(ROOT_DEV);
create_dev("/dev/root.old", Root_RAM0); create_dev("/dev/root.old", Root_RAM0);