Home
last modified time | relevance | path

Searched hist:"0385971754 f0aa0507ecd7f0a0f4a48781906eda" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/block/
H A Dblk-map.cdiff 0385971754f0aa0507ecd7f0a0f4a48781906eda Wed Sep 23 10:07:13 CDT 2020 Christoph Hellwig <hch@lst.de> block: fix bmd->is_null_mapped initialization

bmd is allocated using kmalloc in bio_alloc_map_data, so make sure
is_null_mapped is properly initialized to false for the !null_mapped
case.

Fixes: f3256075ba49 ("block: remove the BIO_NULL_MAPPED flag")
Reported-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>