commit | 0385971754f0aa0507ecd7f0a0f4a48781906eda | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Sep 23 17:07:13 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Sep 23 09:18:39 2020 -0600 |
tree | f75049f052338e26a4d1520fa8d031f7815dce07 | |
parent | f952eefe74a4083142b4cdf0626ebbc07378aeb5 [diff] |
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>