aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.1/040-fs-overlay-fix-stacking.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-10 18:15:39 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-11 13:09:33 +0100
commitb7bee2858b582164d55c32be44df3fcb42cafc78 (patch)
treed908808a56549ec42e1b269421fd1be2dbd57f45 /target/linux/generic/patches-4.1/040-fs-overlay-fix-stacking.patch
parentb1dbe6028eed57a89ae94c5e61e0b1e65f3aeb80 (diff)
downloadupstream-b7bee2858b582164d55c32be44df3fcb42cafc78.tar.gz
upstream-b7bee2858b582164d55c32be44df3fcb42cafc78.tar.bz2
upstream-b7bee2858b582164d55c32be44df3fcb42cafc78.zip
kernel: remove linux 4.1 support
The only target still referencing it is omap24xx, and it is marked as broken. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/generic/patches-4.1/040-fs-overlay-fix-stacking.patch')
-rw-r--r--target/linux/generic/patches-4.1/040-fs-overlay-fix-stacking.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/generic/patches-4.1/040-fs-overlay-fix-stacking.patch b/target/linux/generic/patches-4.1/040-fs-overlay-fix-stacking.patch
deleted file mode 100644
index 6474da6ebf..0000000000
--- a/target/linux/generic/patches-4.1/040-fs-overlay-fix-stacking.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 1c8a47df36d72ace8cf78eb6c228aa0f8027d3c2 Mon Sep 17 00:00:00 2001
-From: Miklos Szeredi <miklos@szeredi.hu>
-Date: Mon, 12 Oct 2015 15:56:20 +0200
-Subject: ovl: fix open in stacked overlay
-
-If two overlayfs filesystems are stacked on top of each other, then we need
-recursion in ovl_d_select_inode().
-
-I guess d_backing_inode() is supposed to do that. But currently it doesn't
-and that functionality is open coded in vfs_open(). This is now copied
-into ovl_d_select_inode() to fix this regression.
-
-Reported-by: Alban Crequy <alban.crequy@gmail.com>
-Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
-Fixes: 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay...")
-Cc: David Howells <dhowells@redhat.com>
-Cc: <stable@vger.kernel.org> # v4.2+
----
- fs/overlayfs/inode.c | 3 +++
- 1 file changed, 3 insertions(+)
-
---- a/fs/overlayfs/inode.c
-+++ b/fs/overlayfs/inode.c
-@@ -383,6 +383,9 @@ struct inode *ovl_d_select_inode(struct
- ovl_path_upper(dentry, &realpath);
- }
-
-+ if (realpath.dentry->d_flags & DCACHE_OP_SELECT_INODE)
-+ return realpath.dentry->d_op->d_select_inode(realpath.dentry, file_flags);
-+
- return d_backing_inode(realpath.dentry);
- }
-