summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/linux/generic/patches-3.10/101-overlayfs_path_ref.patch10
-rw-r--r--target/linux/generic/patches-3.8/101-overlayfs_path_ref.patch10
-rw-r--r--target/linux/generic/patches-3.9/101-overlayfs_path_ref.patch10
3 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.10/101-overlayfs_path_ref.patch b/target/linux/generic/patches-3.10/101-overlayfs_path_ref.patch
new file mode 100644
index 0000000..0891ddf
--- /dev/null
+++ b/target/linux/generic/patches-3.10/101-overlayfs_path_ref.patch
@@ -0,0 +1,10 @@
+--- a/fs/overlayfs/super.c
++++ b/fs/overlayfs/super.c
+@@ -385,7 +385,6 @@ struct dentry *ovl_lookup(struct inode *
+
+ struct file *ovl_path_open(struct path *path, int flags)
+ {
+- path_get(path);
+ return dentry_open(path, flags, current_cred());
+ }
+
diff --git a/target/linux/generic/patches-3.8/101-overlayfs_path_ref.patch b/target/linux/generic/patches-3.8/101-overlayfs_path_ref.patch
new file mode 100644
index 0000000..0891ddf
--- /dev/null
+++ b/target/linux/generic/patches-3.8/101-overlayfs_path_ref.patch
@@ -0,0 +1,10 @@
+--- a/fs/overlayfs/super.c
++++ b/fs/overlayfs/super.c
+@@ -385,7 +385,6 @@ struct dentry *ovl_lookup(struct inode *
+
+ struct file *ovl_path_open(struct path *path, int flags)
+ {
+- path_get(path);
+ return dentry_open(path, flags, current_cred());
+ }
+
diff --git a/target/linux/generic/patches-3.9/101-overlayfs_path_ref.patch b/target/linux/generic/patches-3.9/101-overlayfs_path_ref.patch
new file mode 100644
index 0000000..0891ddf
--- /dev/null
+++ b/target/linux/generic/patches-3.9/101-overlayfs_path_ref.patch
@@ -0,0 +1,10 @@
+--- a/fs/overlayfs/super.c
++++ b/fs/overlayfs/super.c
+@@ -385,7 +385,6 @@ struct dentry *ovl_lookup(struct inode *
+
+ struct file *ovl_path_open(struct path *path, int flags)
+ {
+- path_get(path);
+ return dentry_open(path, flags, current_cred());
+ }
+