diff options
author | 2019-09-19 15:32:45 -0700 | |
---|---|---|
committer | 2019-09-19 15:32:45 -0700 | |
commit | 838c4f3d7515efe9d0e32c846fb5d102b6d8a29d (patch) | |
tree | cd50fb73997130df5bd87700861aae7663702ed4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iomap: split size and error for iomap_dio_rw ->end_io (diff) | |
download | linux-rng-838c4f3d7515efe9d0e32c846fb5d102b6d8a29d.tar.xz linux-rng-838c4f3d7515efe9d0e32c846fb5d102b6d8a29d.zip |
iomap: move the iomap_dio_rw ->end_io callback into a structure
Add a new iomap_dio_ops structure that for now just contains the end_io
handler. This avoid storing the function pointer in a mutable structure,
which is a possible exploit vector for kernel code execution, and prepares
for adding a submit_io handler that btrfs needs.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions