android_kernel_motorola_sm6225/fs/overlayfs
Amir Goldstein 00de23f4f9 ovl: fix unneeded call to ovl_change_flags()
commit 81a33c1ee941c3bb9ffc6bac8f676be13351344e upstream.

The check if user has changed the overlay file was wrong, causing unneeded
call to ovl_change_flags() including taking f_lock on every file access.

Fixes: d989903058a8 ("ovl: do not generate duplicate fsnotify events for "fake" path")
Cc: <stable@vger.kernel.org> # v4.19+
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-22 09:32:10 +02:00
..
copy_up.c ovl: initialize error in ovl_copy_xattr 2020-06-22 09:05:06 +02:00
dir.c ovl: relax WARN_ON() on rename to self 2019-12-17 20:34:51 +01:00
export.c ovl: relax WARN_ON() when decoding lower directory file handle 2020-07-22 09:32:10 +02:00
file.c ovl: fix unneeded call to ovl_change_flags() 2020-07-22 09:32:10 +02:00
inode.c ovl: fix value of i_ino for lower hardlink corner case 2020-04-21 09:03:05 +02:00
Kconfig ovl: Provide a mount option metacopy=on/off for metadata copyup 2018-07-20 09:56:06 +02:00
Makefile ovl: stack file ops 2018-07-18 15:44:41 +02:00
namei.c ovl: detect overlapping layers 2019-06-25 11:35:52 +08:00
overlayfs.h ovl: detect overlapping layers 2019-06-25 11:35:52 +08:00
ovl_entry.h ovl: fix regression caused by overlapping layers detection 2019-09-21 07:17:14 +02:00
readdir.c ovl: fix wrong WARN_ON() in ovl_cache_update_ino() 2020-02-11 04:34:02 -08:00
super.c ovl: inode reference leak in ovl_is_inuse true case. 2020-07-22 09:32:10 +02:00
util.c ovl: detect overlapping layers 2019-06-25 11:35:52 +08:00