From c55085c62dccf0fe3c0447ae82851798bea7594c Mon Sep 17 00:00:00 2001 From: BrainL <[libuyan1@huawei.com](mailto:libuyan1@huawei.com)> Date: Sat, 1 Feb 2025 17:54:14 +0800 Subject: [PATCH 1/2] =?UTF-8?q?storage=5Fservice=E6=B6=89=E5=8F=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: BrainL <[libuyan1@huawei.com](mailto:libuyan1@huawei.com)> Change-Id: Ica3030950b445316fff1ef10dc71194d0c3bc269 --- services/backup_sa/src/module_external/sms_adapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/backup_sa/src/module_external/sms_adapter.cpp b/services/backup_sa/src/module_external/sms_adapter.cpp index d37937369..04f72be3e 100644 --- a/services/backup_sa/src/module_external/sms_adapter.cpp +++ b/services/backup_sa/src/module_external/sms_adapter.cpp @@ -52,7 +52,7 @@ StorageManager::BundleStats StorageMgrAdapter::GetBundleStats(const string &bund { StorageManager::BundleStats bundleStats; auto storageMgr = GetStorageManager(); - if (storageMgr->GetBundleStats(bundleName, bundleStats)) { + if (storageMgr->GetBundleStats(bundleName, bundleStats,0,0)) { throw BError(BError::Codes::SA_BROKEN_IPC, "Failed to get bundle stats"); } return bundleStats; -- Gitee From e0314159db96cfb2aff75f85fe69411ef8330c26 Mon Sep 17 00:00:00 2001 From: BrainL Date: Sat, 1 Feb 2025 18:25:01 +0800 Subject: [PATCH 2/2] =?UTF-8?q?storage=5Fservice=E6=B6=89=E5=8F=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: BrainL Change-Id: I2ad18a080007cc65120a5341d102baae1722d626 --- services/backup_sa/src/module_external/sms_adapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/backup_sa/src/module_external/sms_adapter.cpp b/services/backup_sa/src/module_external/sms_adapter.cpp index a2f0e61b2..a0b683afc 100644 --- a/services/backup_sa/src/module_external/sms_adapter.cpp +++ b/services/backup_sa/src/module_external/sms_adapter.cpp @@ -53,7 +53,7 @@ StorageManager::BundleStats StorageMgrAdapter::GetBundleStats(const string &bund { StorageManager::BundleStats bundleStats; auto storageMgr = GetStorageManager(); - if (storageMgr->GetBundleStats(bundleName, bundleStats,0,0)) { + if (storageMgr->GetBundleStats(bundleName, bundleStats, 0, 0)) { throw BError(BError::Codes::SA_BROKEN_IPC, "Failed to get bundle stats"); } return bundleStats; -- Gitee