mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 07:48:55 +00:00
runtime-rs: fix number of queues handling in dragonball share fs device
Looks like a copy/paste error... Fixes #7501 Signed-off-by: Pavel Mores <pmores@redhat.com>
This commit is contained in:
parent
ff8d7e7e41
commit
28e5e9c86e
@ -311,7 +311,7 @@ impl DragonballInner {
|
||||
sock_path: config.sock_path.clone(),
|
||||
tag: config.mount_tag.clone(),
|
||||
num_queues: if config.queue_num > 0 {
|
||||
config.queue_size as usize
|
||||
config.queue_num as usize
|
||||
} else {
|
||||
DEFAULT_VIRTIO_FS_NUM_QUEUES as usize
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user