mirror of
https://gitee.com/openharmony/filemanagement_storage_service
synced 2025-02-18 13:59:26 +00:00
!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:
commit
890279760a
@ -172,7 +172,7 @@ int32_t MountManager::CloudMount(int32_t userId)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = CloudDaemonManager::GetInstance().StartFuse(fd, path);
|
ret = CloudDaemonManager::GetInstance().StartFuse(userId, fd, path);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
LOGE("failed to connect fuse, err %{public}d %{public}d %{public}s", errno, ret, path.c_str());
|
LOGE("failed to connect fuse, err %{public}d %{public}d %{public}s", errno, ret, path.c_str());
|
||||||
UMount(path.c_str());
|
UMount(path.c_str());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user