aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-23 17:07:13 +0200
committerJens Axboe <axboe@kernel.dk>2020-09-23 09:18:39 -0600
commit0385971754f0aa0507ecd7f0a0f4a48781906eda (patch)
treef75049f052338e26a4d1520fa8d031f7815dce07 /include/linux/blkdev.h
parentblock: drop double zeroing (diff)
downloadlinux-dev-0385971754f0aa0507ecd7f0a0f4a48781906eda.tar.xz
linux-dev-0385971754f0aa0507ecd7f0a0f4a48781906eda.zip
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 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions