linux/fs/overlayfs
Vivek Goyal 5455f92b54 ovl: Put upperdentry if ovl_check_origin() fails
If ovl_check_origin() fails, we should put upperdentry. We have a reference
on it by now. So goto out_put_upper instead of out.

Fixes: a9d019573e ("ovl: lookup non-dir copy-up-origin by file handle")
Cc: <stable@vger.kernel.org> #4.12
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2017-11-10 09:39:16 +01:00
..
copy_up.c ovl: move include of ovl_entry.h into overlayfs.h 2017-11-09 10:23:27 +01:00
dir.c ovl: update cache version of impure parent on rename 2017-11-09 10:23:27 +01:00
inode.c ovl: relax same fs constraint for constant st_ino 2017-11-09 10:23:27 +01:00
Kconfig ovl: introduce the inodes index dir feature 2017-07-04 22:03:17 +02:00
Makefile ovl: split super.c 2016-12-16 11:02:56 +01:00
namei.c ovl: Put upperdentry if ovl_check_origin() fails 2017-11-10 09:39:16 +01:00
overlayfs.h ovl: re-structure overlay lower layers in-memory 2017-11-09 10:23:27 +01:00
ovl_entry.h ovl: allocate anonymous devs for lowerdirs 2017-11-09 10:23:27 +01:00
readdir.c ovl: re-structure overlay lower layers in-memory 2017-11-09 10:23:27 +01:00
super.c ovl: rename ufs to ofs 2017-11-10 09:39:16 +01:00
util.c ovl: re-structure overlay lower layers in-memory 2017-11-09 10:23:27 +01:00