aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2022-05-19 17:31:36 -0600
committerJason A. Donenfeld <[email protected]>2022-05-20 18:26:48 +0200
commit1b388e7765f2eaa137cf5d92b47ef5925ad83ced (patch)
treefac4708792f2b6619393fdbbff2f26062f3de166 /lib/mpi/mpi-sub-ui.c
parent3092adcef3ffd2ef59634998297ca8358461ebce (diff)
random: convert to using fops->read_iter()
This is a pre-requisite to wiring up splice() again for the random and urandom drivers. It also allows us to remove the INT_MAX check in getrandom(), because import_single_range() applies capping internally. Signed-off-by: Jens Axboe <[email protected]> [Jason: rewrote get_random_bytes_user() to simplify and also incorporate additional suggestions from Al.] Cc: Al Viro <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions