Fix up patch for upstream changes
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
This commit is contained in:
parent
240fb413c5
commit
f1a12a8ade
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user