summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.14.221/initramfs-nosizelimit.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-10-22 16:11:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2021-10-22 19:40:46 +0200
commit7129111e97951dc77d1f2e8307d5b8ebb5156085 (patch)
treebea2bdf590734d44351dc0dc0744c8d34b6cd3a5 /target/linux/patches/4.14.221/initramfs-nosizelimit.patch
parent723321895e49ab227695d769a59d8ff0f10736d5 (diff)
linux: update to latest versions
Diffstat (limited to 'target/linux/patches/4.14.221/initramfs-nosizelimit.patch')
-rw-r--r--target/linux/patches/4.14.221/initramfs-nosizelimit.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/target/linux/patches/4.14.221/initramfs-nosizelimit.patch b/target/linux/patches/4.14.221/initramfs-nosizelimit.patch
deleted file mode 100644
index 0e524c1d9..000000000
--- a/target/linux/patches/4.14.221/initramfs-nosizelimit.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Nur linux-4.14.24.orig/init/do_mounts.c linux-4.14.24/init/do_mounts.c
---- linux-4.14.24.orig/init/do_mounts.c 2018-03-03 10:24:39.000000000 +0100
-+++ linux-4.14.24/init/do_mounts.c 2018-03-08 02:32:01.136927457 +0100
-@@ -604,6 +604,7 @@
- }
-
- static bool is_tmpfs;
-+static char tmpfs_rootflags[] = "nr_blocks=0,nr_inodes=0";
- static struct dentry *rootfs_mount(struct file_system_type *fs_type,
- int flags, const char *dev_name, void *data)
- {
-@@ -616,6 +617,9 @@
- if (IS_ENABLED(CONFIG_TMPFS) && is_tmpfs)
- fill = shmem_fill_super;
-
-+ if (is_tmpfs)
-+ data = tmpfs_rootflags;
-+
- return mount_nodev(fs_type, flags, data, fill);
- }
-