Message ID | 20220504201207.2352621-1-nobelbarakat@google.com |
---|---|
State | New |
Headers | show |
Series | [5.10] block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern | expand |
diff --git a/block/blk-map.c b/block/blk-map.c index 21630dccac62..ede73f4f7014 100644 --- a/block/blk-map.c +++ b/block/blk-map.c @@ -488,7 +488,7 @@ if (bytes > len) bytes = len; - page = alloc_page(q->bounce_gfp | gfp_mask); + page = alloc_page(q->bounce_gfp | __GFP_ZERO | gfp_mask); if (!page) goto cleanup;