aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <[email protected]>2015-11-16 18:44:11 +0300
committerMiklos Szeredi <[email protected]>2015-12-11 16:30:49 +0100
commit84889d49335627bc770b32787c1ef9ebad1da232 (patch)
tree00f6932ed900339a13732ddd159c8d5110addbdf /tools/perf/scripts/python/bin/export-to-postgresql-report
parentcf9a6784f7c1b5ee2b9159a1246e327c331c5697 (diff)
ovl: check dentry positiveness in ovl_cleanup_whiteouts()
This patch fixes kernel crash at removing directory which contains whiteouts from lower layers. Cache of directory content passed as "list" contains entries from all layers, including whiteouts from lower layers. So, lookup in upper dir (moved into work at this stage) will return negative entry. Plus this cache is filled long before and we can race with external removal. Example: mkdir -p lower0/dir lower1/dir upper work overlay touch lower0/dir/a lower0/dir/b mknod lower1/dir/a c 0 0 mount -t overlay none overlay -o lowerdir=lower1:lower0,upperdir=upper,workdir=work rm -fr overlay/dir Signed-off-by: Konstantin Khlebnikov <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]> Cc: <[email protected]> # 3.18+
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions