summaryrefslogtreecommitdiff
path: root/fs/overlayfs/namei.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2020-06-18 18:43:53 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2020-07-16 07:24:47 +0200
commit81a33c1ee941c3bb9ffc6bac8f676be13351344e (patch)
tree4619f9de2a2051e3212516b7a5321a4d14502684 /fs/overlayfs/namei.c
parentf0e1266ed24b8a69655e1ab7fb618dbf6730879b (diff)
ovl: fix unneeded call to ovl_change_flags()
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>
Diffstat (limited to 'fs/overlayfs/namei.c')
0 files changed, 0 insertions, 0 deletions