commit | 6251691a92170d3a781aaf7b5f2c31b50d669809 | [log] [tgz] |
---|---|---|
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | Mon Jan 14 06:31:56 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jan 14 06:31:56 2019 -0700 |
tree | 9b09f6724ff0ca0dd8b87698bde414946bdd4511 | |
parent | 5bf859081f6a7575a3f7509d7a70d0a9baa88ce3 [diff] |
md: Make bio_alloc_mddev use bio_alloc_bioset bio_alloc_bioset returns a bio pointer or NULL, so we can avoid storing the returned data into a new variable. Acked-by: Guoqing Jiang <gqjiang@suse.com> Acked-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>