summaryrefslogtreecommitdiffstats
path: root/fs/aio.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-12-04 10:47:50 -0700
committerChristian Brauner <brauner@kernel.org>2023-12-05 11:57:37 +0100
commit9fd7874c0e5c89d7da0b4442271696ec0f8edcba (patch)
tree02f05ac2574b38dcc3b39a942c34c0d4b04c29f7 /fs/aio.c
parent6ac805d13870925c787a28e3fe5cc73610cacd03 (diff)
downloadlinux-9fd7874c0e5c89d7da0b4442271696ec0f8edcba.tar.gz
linux-9fd7874c0e5c89d7da0b4442271696ec0f8edcba.tar.bz2
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/aio.c b/fs/aio.c
index 251eeaef7fbf..4ea639509d41 100644
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -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;
}