diff options
| author | Christoph Hellwig <[email protected]> | 2020-02-26 17:30:41 -0800 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2020-03-02 20:55:54 -0800 |
| commit | 53ac39fdb301e022a4ba477ee114cdab56045ac9 (patch) | |
| tree | 6d1ce828570cf70eab75a5d5010d2deb94ae4ad8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | eb241c747463666c34b8f578b8dd7aa5d1fc0273 (diff) | |
xfs: lift cursor copy in/out into xfs_ioc_attr_list
Lift the common code to copy the cursor from and to user space into
xfs_ioc_attr_list. Note that this means we copy in twice now as
the cursor is in the middle of the conaining structure, but we never
touch the memory for the original copy. Doing so keeps the cursor
handling isolated in the common helper.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Chandan Rajendra <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions