From 84822c8d5177df60d251b42bc98357889171c377 Mon Sep 17 00:00:00 2001 From: Jintao Zhu Date: Wed, 21 Apr 2021 14:31:22 +0800 Subject: [PATCH] Add function CleanupOldScratchFiles symmetrically For symmetry, add function CleanupOldScratchFiles in conditional compilation blocks which missing it. Test: monkey test for one day and one night Signed-off-by: Jintao Zhu Change-Id: Ie754427334c9a9bb7cfed70df45f439c60c9ab16 --- fs_mgr/fs_mgr_overlayfs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs_mgr/fs_mgr_overlayfs.cpp b/fs_mgr/fs_mgr_overlayfs.cpp index 1134f149b..cb0938363 100644 --- a/fs_mgr/fs_mgr_overlayfs.cpp +++ b/fs_mgr/fs_mgr_overlayfs.cpp @@ -116,6 +116,8 @@ namespace fs_mgr { void MapScratchPartitionIfNeeded(Fstab*, const std::function&)>&) { } +void CleanupOldScratchFiles() {} + void TeardownAllOverlayForMountPoint(const std::string&) {} } // namespace fs_mgr