From 95fd048e00665d4a7c23a6138b1efef671f6a48e Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 29 Jun 2025 01:47:11 +0300 Subject: [PATCH] fix(castore/fs): fix names This is snix-castore, not snix-store. Change-Id: I4c77adbc8c0c7c450075231ae4ef03ddfa0ea81c Reviewed-on: https://cl.snix.dev/c/snix/+/30584 Tested-by: besadii Reviewed-by: Vova Kryachko --- snix/castore/src/fs/fuse/mod.rs | 2 +- snix/castore/src/fs/virtiofs.rs | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/snix/castore/src/fs/fuse/mod.rs b/snix/castore/src/fs/fuse/mod.rs index f296b1647..ae3ef92ac 100644 --- a/snix/castore/src/fs/fuse/mod.rs +++ b/snix/castore/src/fs/fuse/mod.rs @@ -73,7 +73,7 @@ impl FuseDaemon { { let server = Arc::new(fuse_backend_rs::api::server::Server::new(Arc::new(fs))); - let mut session = FuseSession::new(mountpoint.as_ref(), "snix-store", "", true) + let mut session = FuseSession::new(mountpoint.as_ref(), "snix-castore", "", true) .map_err(|e| io::Error::new(io::ErrorKind::Other, e.to_string()))?; #[cfg(target_os = "linux")] diff --git a/snix/castore/src/fs/virtiofs.rs b/snix/castore/src/fs/virtiofs.rs index bbb17e740..1461bdbc8 100644 --- a/snix/castore/src/fs/virtiofs.rs +++ b/snix/castore/src/fs/virtiofs.rs @@ -226,9 +226,12 @@ where let listener = Listener::new(socket, true).unwrap(); - let mut fs_daemon = - VhostUserDaemon::new(String::from("vhost-user-fs-snix-store"), backend, guest_mem) - .map_err(|_| Error::NewDaemon)?; + let mut fs_daemon = VhostUserDaemon::new( + String::from("vhost-user-fs-snix-castore"), + backend, + guest_mem, + ) + .map_err(|_| Error::NewDaemon)?; fs_daemon.start(listener).map_err(|_| Error::StartDaemon)?;