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 <eguan@linux.alibaba.com>
This commit is contained in:
Eryu Guan 2020-02-24 17:42:39 +08:00 committed by Rob Bradford
parent 9de3ace8c7
commit 3cb4513077

View File

@ -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;