From 3cb4513077d8373cd4549a96716632508902e728 Mon Sep 17 00:00:00 2001 From: Eryu Guan Date: Mon, 24 Feb 2020 17:42:39 +0800 Subject: [PATCH] vhost_rs: control SlaveFsCacheReq with vhost-user-slave feature We import slave_fs_cache mod under vhost-user-slave feature control, but not the self::slave_fs_cache::SlaveFsCacheReq import. Signed-off-by: Eryu Guan --- vhost_rs/src/vhost_user/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/vhost_rs/src/vhost_user/mod.rs b/vhost_rs/src/vhost_user/mod.rs index b09a192cc..4307fca77 100644 --- a/vhost_rs/src/vhost_user/mod.rs +++ b/vhost_rs/src/vhost_user/mod.rs @@ -43,6 +43,7 @@ mod slave_req_handler; pub use self::slave_req_handler::{SlaveReqHandler, VhostUserSlaveReqHandler}; #[cfg(feature = "vhost-user-slave")] mod slave_fs_cache; +#[cfg(feature = "vhost-user-slave")] pub use self::slave_fs_cache::SlaveFsCacheReq; pub mod sock_ctrl_msg;