aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.9
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-3.9')
-rw-r--r--target/linux/generic/patches-3.9/101-overlayfs_path_ref.patch10
1 files changed, 10 insertions, 0 deletions
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 0000000000..0891ddf5f6
--- /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());
+ }
+