diff options
| author | Goldwyn Rodrigues <[email protected]> | 2021-07-27 16:17:29 -0500 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2021-08-23 13:19:10 +0200 |
| commit | 0afb603afc3e3dd15c99dd34d5e18b46f9f5c0e4 (patch) | |
| tree | 18032d5cec5fb8fafb6430908fb18f58112c372c /tools/perf/scripts/python | |
| parent | 98caf9531e1de8104b45fabbab4b6c2f290068fa (diff) | |
btrfs: allocate btrfs_ioctl_quota_rescan_args on stack
Instead of using kmalloc() to allocate btrfs_ioctl_quota_rescan_args,
allocate btrfs_ioctl_quota_rescan_args on stack, the size is reasonably
small and ioctls are called in process context.
sizeof(btrfs_ioctl_quota_rescan_args) = 64
Reviewed-by: Anand Jain <[email protected]>
Signed-off-by: Goldwyn Rodrigues <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions