diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-23 17:07:13 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-23 09:18:39 -0600 |
commit | 0385971754f0aa0507ecd7f0a0f4a48781906eda (patch) | |
tree | f75049f052338e26a4d1520fa8d031f7815dce07 /tools/include | |
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>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions