aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2018-07-17 16:05:38 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2018-07-17 16:04:34 +0200
commit67810693077afc1ebf9e1646af300436cb8103c2 (patch)
tree4680beac9b17af390ad8fcd176851a6eacab4877 /tools/perf/scripts/python/export-to-postgresql.py
parentLinux 4.18-rc1 (diff)
downloadwireguard-linux-67810693077afc1ebf9e1646af300436cb8103c2.tar.xz
wireguard-linux-67810693077afc1ebf9e1646af300436cb8103c2.zip
ovl: fix wrong use of impure dir cache in ovl_iterate()
Only upper dir can be impure, but if we are in the middle of iterating a lower real dir, dir could be copied up and marked impure. We only want the impure cache if we started iterating a real upper dir to begin with. Aditya Kali reported that the following reproducer hits the WARN_ON(!cache->refcount) in ovl_get_cache(): docker run --rm drupal:8.5.4-fpm-alpine \ sh -c 'cd /var/www/html/vendor/symfony && \ chown -R www-data:www-data . && ls -l .' Reported-by: Aditya Kali <adityakali@google.com> Tested-by: Aditya Kali <adityakali@google.com> Fixes: 4edb83bb1041 ('ovl: constant d_ino for non-merge dirs') Cc: <stable@vger.kernel.org> # v4.14 Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions