From c6c5e4ee87c616773bd079c072c77bdd117cb550 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Mon, 20 Jun 2022 15:11:15 +0000 Subject: [PATCH] vhost_user_block: drop Sync bound for DiskFile Signed-off-by: Wei Liu --- vhost_user_block/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vhost_user_block/src/lib.rs b/vhost_user_block/src/lib.rs index 74a83d68a..639e6a6fe 100644 --- a/vhost_user_block/src/lib.rs +++ b/vhost_user_block/src/lib.rs @@ -45,8 +45,8 @@ const BLK_SIZE: u32 = 512; // and the overhead of the emulation layer. const POLL_QUEUE_US: u128 = 50; -trait DiskFile: Read + Seek + Write + Send + Sync {} -impl DiskFile for D {} +trait DiskFile: Read + Seek + Write + Send {} +impl DiskFile for D {} type Result = std::result::Result; type VhostUserBackendResult = std::result::Result;