summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2014-02-18 02:45:56 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-08-07 22:40:10 +0400
commit75a2352d0110960aeee1a28ddc09a55f97c99100 (patch)
tree09df0569f40eb0a50a752575fa7991c62b98a76b /tools/perf/scripts/python/export-to-postgresql.py
parent3f70bd51cb4405dc5cf8624292ffa474679fc9c7 (diff)
downloadlinux-75a2352d0110960aeee1a28ddc09a55f97c99100.tar.xz
dcache: close d_move race in d_splice_alias
d_splice_alias will d_move an IS_ROOT() directory dentry into place if one exists. This should be safe as long as the dentry remains IS_ROOT, but I can't see what guarantees that: once we drop the i_lock all we hold here is the i_mutex on an unrelated parent directory. Instead copy the logic of d_materialise_unique. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions