mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-18 23:04:20 +01:00
runtime-rs: Name the ShareFs Mount Option type more accurately
Fixes: #7915 Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
This commit is contained in:
@@ -13,7 +13,7 @@ use tokio::sync::RwLock;
|
||||
use hypervisor::{
|
||||
device::{
|
||||
device_manager::{do_handle_device, do_update_device, DeviceManager},
|
||||
driver::{ShareFsMountConfig, ShareFsMountType, ShareFsOperation},
|
||||
driver::{ShareFsMountConfig, ShareFsMountOperation, ShareFsMountType},
|
||||
DeviceConfig,
|
||||
},
|
||||
ShareFsConfig,
|
||||
@@ -89,7 +89,7 @@ pub(crate) async fn setup_inline_virtiofs(d: &RwLock<DeviceManager>, id: &str) -
|
||||
mount_point: mnt,
|
||||
config: None,
|
||||
tag: String::from(MOUNT_GUEST_TAG),
|
||||
op: ShareFsOperation::Mount,
|
||||
op: ShareFsMountOperation::Mount,
|
||||
prefetch_list_path: None,
|
||||
};
|
||||
|
||||
@@ -126,7 +126,7 @@ pub async fn rafs_mount(
|
||||
mount_point: rafs_mnt,
|
||||
config: Some(config_content),
|
||||
tag: String::from(MOUNT_GUEST_TAG),
|
||||
op: ShareFsOperation::Mount,
|
||||
op: ShareFsMountOperation::Mount,
|
||||
prefetch_list_path,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user