Skip to content

Commit a502e72

Browse files
committed
Merge tag 'io_uring-6.10-20240621' of git://git.kernel.dk/linux
Pull io_uring fix from Jens Axboe: "Just a single cleanup for the fixed buffer iov_iter import. More cosmetic than anything else, but let's get it cleaned up as it's confusing" * tag 'io_uring-6.10-20240621' of git://git.kernel.dk/linux: io_uring/rsrc: fix incorrect assignment of iter->nr_segs in io_import_fixed
2 parents ffdf504 + a23800f commit a502e72

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

io_uring/rsrc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,6 @@ int io_import_fixed(int ddir, struct iov_iter *iter,
10681068
* branch doesn't expect non PAGE_SIZE'd chunks.
10691069
*/
10701070
iter->bvec = bvec;
1071-
iter->nr_segs = bvec->bv_len;
10721071
iter->count -= offset;
10731072
iter->iov_offset = offset;
10741073
} else {

0 commit comments

Comments
 (0)