diff --git a/src/engine/strat_engine/pool/v1.rs b/src/engine/strat_engine/pool/v1.rs index 7f66923be3..d6a6f5a94f 100644 --- a/src/engine/strat_engine/pool/v1.rs +++ b/src/engine/strat_engine/pool/v1.rs @@ -1300,9 +1300,6 @@ impl Pool for StratPool { fs_uuid: FilesystemUuid, new_scheduled: bool, ) -> StratisResult> { - let (_, _) = self.get_filesystem(fs_uuid).ok_or_else(|| { - StratisError::Msg(format!("Filesystem with UUID {fs_uuid} not found")) - })?; if self .thin_pool .set_fs_merge_scheduled(fs_uuid, new_scheduled)? diff --git a/src/engine/strat_engine/pool/v2.rs b/src/engine/strat_engine/pool/v2.rs index 1396a72351..c0eda67dfb 100644 --- a/src/engine/strat_engine/pool/v2.rs +++ b/src/engine/strat_engine/pool/v2.rs @@ -1207,9 +1207,6 @@ impl Pool for StratPool { fs_uuid: FilesystemUuid, new_scheduled: bool, ) -> StratisResult> { - let (_, _) = self.get_filesystem(fs_uuid).ok_or_else(|| { - StratisError::Msg(format!("Filesystem with UUID {fs_uuid} not found")) - })?; if self .thin_pool .set_fs_merge_scheduled(fs_uuid, new_scheduled)?