diff options
author | Amir Goldstein <amir73il@gmail.com> | 2020-06-18 18:43:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-22 09:33:12 +0200 |
commit | 09b696bd214915ca72a5d0925690580292bde00c (patch) | |
tree | a4fa26abc5b0a79e818ae01a0fd2236afb67d089 /fs/afs | |
parent | 93f75b0f0d3b1cbd9503170674f0a65370247c27 (diff) | |
download | linux-stable-09b696bd214915ca72a5d0925690580292bde00c.tar.gz linux-stable-09b696bd214915ca72a5d0925690580292bde00c.tar.bz2 linux-stable-09b696bd214915ca72a5d0925690580292bde00c.zip |
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>
Diffstat (limited to 'fs/afs')
0 files changed, 0 insertions, 0 deletions