diff options
author | 2021-07-05 17:26:28 +0200 | |
---|---|---|
committer | 2021-10-20 19:33:07 +0200 | |
commit | cdd591fc86e38ad3899196066219fbbd845f3162 (patch) | |
tree | 6fa9b67d1df07be3b57ba43a66120c0c4fd63450 /scripts/gdb/linux/utils.py | |
parent | iov_iter: Turn iov_iter_fault_in_readable into fault_in_iov_iter_readable (diff) | |
download | linux-dev-cdd591fc86e38ad3899196066219fbbd845f3162.tar.xz linux-dev-cdd591fc86e38ad3899196066219fbbd845f3162.zip |
iov_iter: Introduce fault_in_iov_iter_writeable
Introduce a new fault_in_iov_iter_writeable helper for safely faulting
in an iterator for writing. Uses get_user_pages() to fault in the pages
without actually writing to them, which would be destructive.
We'll use fault_in_iov_iter_writeable in gfs2 once we've determined that
the iterator passed to .read_iter isn't in memory.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions