diff options
| author | Waiman Long <[email protected]> | 2020-06-16 15:31:59 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-06-16 17:24:03 +0000 |
| commit | b091f7fede97cc64f7aaad3eeb37965aebee3082 (patch) | |
| tree | c73c266d76a14da8d3c1c04fad1473797054adca /tools/perf/scripts/python/stackcollapse.py | |
| parent | btrfs: fix RWF_NOWAIT writes blocking on extent locks and waiting for IO (diff) | |
| download | kernel-b091f7fede97cc64f7aaad3eeb37965aebee3082.tar.gz kernel-b091f7fede97cc64f7aaad3eeb37965aebee3082.zip | |
btrfs: use kfree() in btrfs_ioctl_get_subvol_info()
In btrfs_ioctl_get_subvol_info(), there is a classic case where kzalloc()
was incorrectly paired with kzfree(). According to David Sterba, there
isn't any sensitive information in the subvol_info that needs to be
cleared before freeing. So kzfree() isn't really needed, use kfree()
instead.
Signed-off-by: Waiman Long <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
