aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2022-11-10 11:36:29 +0530
committerDavid Sterba <dsterba@suse.com>2022-11-15 17:15:44 +0100
commit8cf96b409d9b3946ece58ced13f92d0f775b0442 (patch)
tree2744c0071ae12c3dcaf7639ec1f0784ec69e5064 /tools/perf/scripts/python/export-to-postgresql.py
parent418ffb9e3cf6c4e2574d3a732b724916684bd133 (diff)
btrfs: free btrfs_path before copying fspath to userspace
btrfs_ioctl_ino_to_path() frees the search path after the userspace copy from the temp buffer @ipath->fspath. Which potentially can lead to a lock splat warning. Fix this by freeing the path before we copy it to userspace. CC: stable@vger.kernel.org # 4.19+ Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions