Commit 79655e90 authored by Stefan Bader's avatar Stefan Bader

Revert "block/bio: Do not zero user pages"

BugLink: https://bugs.launchpad.net/bugs/1837235

This reverts commit a713ff5b as
it seems to be part of a set causing regressions on 32bit.
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
parent 257fccba
...@@ -1238,7 +1238,6 @@ struct bio *bio_copy_user_iov(struct request_queue *q, ...@@ -1238,7 +1238,6 @@ struct bio *bio_copy_user_iov(struct request_queue *q,
if (ret) if (ret)
goto cleanup; goto cleanup;
} else { } else {
if (bmd->is_our_pages)
zero_fill_bio(bio); zero_fill_bio(bio);
iov_iter_advance(iter, bio->bi_iter.bi_size); iov_iter_advance(iter, bio->bi_iter.bi_size);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment