!551 storagedaemon: pass user id to clouddaemon when mount fuse

Merge pull request !551 from 陈孝松/pass-userid-when-mount-fuse
This commit is contained in:
openharmony_ci 2023-06-05 13:19:42 +00:00 committed by Gitee
commit 890279760a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -172,7 +172,7 @@ int32_t MountManager::CloudMount(int32_t userId)
return ret;
}
ret = CloudDaemonManager::GetInstance().StartFuse(fd, path);
ret = CloudDaemonManager::GetInstance().StartFuse(userId, fd, path);
if (ret) {
LOGE("failed to connect fuse, err %{public}d %{public}d %{public}s", errno, ret, path.c_str());
UMount(path.c_str());