kernel: fix a reference counting bug in overlayfs
[openwrt.git] / target / linux / generic / patches-3.8 / 101-overlayfs_path_ref.patch
1 --- a/fs/overlayfs/super.c
2 +++ b/fs/overlayfs/super.c
3 @@ -385,7 +385,6 @@ struct dentry *ovl_lookup(struct inode *
4  
5  struct file *ovl_path_open(struct path *path, int flags)
6  {
7 -       path_get(path);
8         return dentry_open(path, flags, current_cred());
9  }
10