commit | 2a2a4c510b761e800098992cac61281c86527e5d | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Jun 07 14:42:06 2018 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jun 08 07:06:29 2018 -0600 |
tree | fc9da12ff89fde302f9129d7641197d17c853852 | |
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>