openwrtv4/target/linux/generic/patches-3.10/101-overlayfs_path_ref.patch

11 lines
252 B
Diff
Raw Normal View History

--- 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());
}