diff options
author | Christoph Hellwig <hch@lst.de> | 2022-06-08 08:34:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-22 14:28:13 +0200 |
commit | 2088c1ed41873980fc439df207549a931c788d23 (patch) | |
tree | 2ef3d06dc3d60a3d47260915537c11d5dba357d2 /net/lapb/lapb_in.c | |
parent | e494408d60c51ac1a200c8b43b94907dc267e249 (diff) |
dm: fix bio_set allocation
commit 29dec90a0f1d961b93f34f910e9319d8cb23edbd upstream.
The use of bioset_init_from_src mean that the pre-allocated pools weren't
used for anything except parameter passing, and the integrity pool
creation got completely lost for the actual live mapped_device. Fix that
by assigning the actual preallocated dm_md_mempools to the mapped_device
and using that for I/O instead of creating new mempools.
Fixes: 2a2a4c510b76 ("dm: use bioset_init_from_src() to copy bio_set")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions