Searched refs:storageSource (Results 1 – 1 of 1) sorted by relevance
/system/vold/ |
D | VolumeManager.cpp | 525 static bool childProcess(const char* storageSource, const char* userSource, int nsFd, in childProcess() argument 543 if (TEMP_FAILURE_RETRY(mount(storageSource, "/storage", NULL, MS_BIND | MS_REC, NULL)) == -1) { in childProcess() 545 storageSource, name, strerror(errno)); in childProcess() 569 std::string storageSource; in forkAndRemountChild() local 576 storageSource = "/mnt/runtime/default"; in forkAndRemountChild() 580 storageSource = "/mnt/runtime/write"; in forkAndRemountChild() 588 LOG(DEBUG) << "Remounting " << uid << " as " << storageSource; in forkAndRemountChild() 593 if (childProcess(storageSource.c_str(), userSource.c_str(), nsFd, name)) { in forkAndRemountChild()
|