mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
raid5-ppl: use BIOSET_NEED_BVECS when creating bioset
This bioset is used for allocating bios with nr_iovecs > 0 so this flag
must be set.
Fixes: 011067b056 ("blk: replace bioset_create_nobvec() with a flags arg to bioset_create()")
Signed-off-by: Artur Paszkiewicz <[email protected]>
Signed-off-by: Shaohua Li <[email protected]>
This commit is contained in:
parent
b5d27718f3
commit
6409e84ec5
1 changed files with 1 additions and 1 deletions
|
|
@ -1150,7 +1150,7 @@ int ppl_init_log(struct r5conf *conf)
|
|||
goto err;
|
||||
}
|
||||
|
||||
ppl_conf->bs = bioset_create(conf->raid_disks, 0, 0);
|
||||
ppl_conf->bs = bioset_create(conf->raid_disks, 0, BIOSET_NEED_BVECS);
|
||||
if (!ppl_conf->bs) {
|
||||
ret = -ENOMEM;
|
||||
goto err;
|
||||
|
|
|
|||
Loading…
Reference in a new issue