summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2024-01-11 17:22:40 +1100
committerChristian Brauner <brauner@kernel.org>2024-01-22 15:33:36 +0100
commit6c8ac6e24eb04d1eebc442029d7a7528e5461cb8 (patch)
tree8643d51bf0ba0e0586a240f4ef09b95274917043 /mm
parent73f65b8b0325551110dedf8d27ac738bdc331802 (diff)
initramfs: remove duplicate built-in __initramfs_start unpacking
If initrd_start cpio extraction fails, CONFIG_BLK_DEV_RAM triggers fallback to initrd.image handling via populate_initrd_image(). The populate_initrd_image() call follows successful extraction of any built-in cpio archive at __initramfs_start, but currently performs built-in archive extraction a second time. Prior to commit b2a74d5f9d446 ("initramfs: remove clean_rootfs"), the second built-in initramfs unpack call was used to repopulate entries removed by clean_rootfs(), but it's no longer necessary now the contents of the previous extraction are retained. Signed-off-by: David Disseldorp <ddiss@suse.de> Link: https://lore.kernel.org/r/20240111062240.9362-1-ddiss@suse.de Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions