From 18ec233fbabab2b296ad0ed2a41ceda0cafb5b59 Mon Sep 17 00:00:00 2001
From: Alessandro Rubini <rubini@gnudd.com>
Date: Sat, 20 Nov 2010 13:15:48 +0100
Subject: [PATCH 1/9] initramfs: stop after one cpio archive

Update to 3.16.38
=================
This patch has been ported from 2.6.39.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
---
 init/initramfs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/init/initramfs.c b/init/initramfs.c
index a8497fa..619187f 100644
--- a/init/initramfs.c
+++ b/init/initramfs.c
@@ -472,6 +472,7 @@ static char * __init unpack_to_rootfs(char *buf, unsigned len)
 			error("junk in compressed archive");
 		if (state != Reset)
 			error("junk in compressed archive");
+		break; /* so we can use a bigger initrd size in the cmdline */
 		this_header = saved_offset + my_inptr;
 		buf += my_inptr;
 		len -= my_inptr;
-- 
2.7.4

