aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2022-11-10 11:36:29 +0530
committerDavid Sterba <[email protected]>2022-11-15 17:15:44 +0100
commit8cf96b409d9b3946ece58ced13f92d0f775b0442 (patch)
tree2744c0071ae12c3dcaf7639ec1f0784ec69e5064 /lib/mpi/mpi-mod.c
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: [email protected] # 4.19+ Signed-off-by: Anand Jain <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions