Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: f325607 ("block: remove the BIO_NULL_MAPPED flag") Reported-by: Marc Hartmayer <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information