diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-06-07 14:42:06 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-06-08 07:06:29 -0600 |
commit | 2a2a4c510b761e800098992cac61281c86527e5d (patch) | |
tree | fc9da12ff89fde302f9129d7641197d17c853852 /drivers/fmc | |
parent | 28e89fd914a22e8a64f05ae2f0048b06165f371b (diff) |
dm: use bioset_init_from_src() to copy bio_set
We can't just copy and clear a bio_set, use the bio helper to
setup a new bio_set with the settings from another one.
Fixes: 6f1c819c219f ("dm: convert to bioset_init()/mempool_init()")
Reported-by: Venkat R.B <vrbagal1@linux.vnet.ibm.com>
Tested-by: Venkat R.B <vrbagal1@linux.vnet.ibm.com>
Tested-by: Li Wang <liwang@redhat.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/fmc')
0 files changed, 0 insertions, 0 deletions