diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-12-04 18:47:50 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-12-05 11:57:37 +0100 |
commit | 9fd7874c0e5c89d7da0b4442271696ec0f8edcba (patch) | |
tree | 02f05ac2574b38dcc3b39a942c34c0d4b04c29f7 /fs/aio.c | |
parent | iov_iter: remove unused 'iov' argument from import_single_range() (diff) | |
download | linux-9fd7874c0e5c89d7da0b4442271696ec0f8edcba.tar.xz linux-9fd7874c0e5c89d7da0b4442271696ec0f8edcba.zip |
iov_iter: replace import_single_range() with import_ubuf()
With the removal of the 'iov' argument to import_single_range(), the two
functions are now fully identical. Convert the import_single_range()
callers to import_ubuf(), and remove the former fully.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/20231204174827.1258875-3-axboe@kernel.dk
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/aio.c')
-rw-r--r-- | fs/aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1498,7 +1498,7 @@ static ssize_t aio_setup_rw(int rw, const struct iocb *iocb, size_t len = iocb->aio_nbytes; if (!vectored) { - ssize_t ret = import_single_range(rw, buf, len, iter); + ssize_t ret = import_ubuf(rw, buf, len, iter); *iovec = NULL; return ret; } |