Fix up patch for upstream changes

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
This commit is contained in:
Justin M. Forbes 2024-01-09 09:34:08 -06:00
parent 240fb413c5
commit f1a12a8ade
No known key found for this signature in database
GPG Key ID: B8FA7924A4B1C140

View File

@ -885,7 +885,7 @@ index 456be28ba67c..6681b9c20b01 100644
+ rcu_read_unlock(); + rcu_read_unlock();
+ +
+ if (rng) { + if (rng) {
+ ret = import_single_range(ITER_DEST, ubuf, len, &iov, &iter); + ret = import_ubuf(ITER_DEST, ubuf, len, &iter);
+ if (unlikely(ret)) + if (unlikely(ret))
+ return ret; + return ret;
+ ret = rng->extrng_read_iter(&iter, !!(flags & GRND_RANDOM)); + ret = rng->extrng_read_iter(&iter, !!(flags & GRND_RANDOM));