]> www.infradead.org Git - users/hch/block.git/commit
block: use memzero_page in zero_fill_bio
authorChristoph Hellwig <hch@lst.de>
Thu, 20 May 2021 12:06:10 +0000 (14:06 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 23 Jul 2021 05:39:24 +0000 (07:39 +0200)
commit6c03be075616d0240c167b7ca84627f20ec071e2
tree502e504c05b88ad30857e9d066b0b75c9c55a1d6
parent12750d187079820f4a54f9bf0b63fada1b93d897
block: use memzero_page in zero_fill_bio

Use memzero_bvec to zero each segment in the bio instead of manually
mapping and zeroing the data.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
block/bio.c