1
0
Fork 0
alistair23-linux/fs/overlayfs
Amir Goldstein 09b696bd21 ovl: fix unneeded call to ovl_change_flags()
commit 81a33c1ee9 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: d989903058 ("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:33:12 +02:00
..
Kconfig
Makefile
copy_up.c
dir.c
export.c ovl: relax WARN_ON() when decoding lower directory file handle 2020-07-22 09:33:12 +02:00
file.c ovl: fix unneeded call to ovl_change_flags() 2020-07-22 09:33:12 +02:00
inode.c
namei.c
overlayfs.h
ovl_entry.h
readdir.c
super.c ovl: inode reference leak in ovl_is_inuse true case. 2020-07-22 09:33:11 +02:00
util.c