linux/fs/overlayfs
youngjun 24f14009b8 ovl: inode reference leak in ovl_is_inuse true case.
When "ovl_is_inuse" true case, trap inode reference not put.  plus adding
the comment explaining sequence of ovl_is_inuse after ovl_setup_trap.

Fixes: 0be0bfd2de ("ovl: fix regression caused by overlapping layers detection")
Cc: <stable@vger.kernel.org> # v4.19+
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: youngjun <her0gyugyu@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2020-07-16 00:05:40 +02:00
..
copy_up.c ovl: initialize error in ovl_copy_xattr 2020-06-04 10:48:19 +02:00
dir.c ovl: initialize OVL_UPPERDATA in ovl_lookup() 2020-06-02 22:20:25 +02:00
export.c ovl: add accessor for ofs->upper_mnt 2020-06-04 10:48:19 +02:00
file.c ovl: only pass ->ki_flags to ovl_iocb_to_rwf() 2020-06-04 10:48:19 +02:00
inode.c overlayfs update for 5.8 2020-06-09 15:40:50 -07:00
Kconfig docs: fix broken references to text files 2020-04-20 15:35:59 -06:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
namei.c ovl: add accessor for ofs->upper_mnt 2020-06-04 10:48:19 +02:00
overlayfs.h ovl: make oip->index bool 2020-06-04 10:48:19 +02:00
ovl_entry.h ovl: get rid of redundant members in struct ovl_fs 2020-06-04 10:48:19 +02:00
readdir.c ovl: add accessor for ofs->upper_mnt 2020-06-04 10:48:19 +02:00
super.c ovl: inode reference leak in ovl_is_inuse true case. 2020-07-16 00:05:40 +02:00
util.c ovl: add accessor for ofs->upper_mnt 2020-06-04 10:48:19 +02:00