summaryrefslogtreecommitdiff
path: root/cmds/installd/QuotaUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/installd/QuotaUtils.cpp')
-rw-r--r--cmds/installd/QuotaUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/QuotaUtils.cpp b/cmds/installd/QuotaUtils.cpp
index 60271392e9..e0802911ca 100644
--- a/cmds/installd/QuotaUtils.cpp
+++ b/cmds/installd/QuotaUtils.cpp
@@ -35,7 +35,7 @@ std::recursive_mutex mMountsLock;
/* Map of all quota mounts from target to source */
std::unordered_map<std::string, std::string> mQuotaReverseMounts;
-std::string FindQuotaDeviceForUuid(const std::string& uuid) {
+std::string& FindQuotaDeviceForUuid(const std::string& uuid) {
std::lock_guard<std::recursive_mutex> lock(mMountsLock);
auto path = create_data_path(uuid.empty() ? nullptr : uuid.c_str());
return mQuotaReverseMounts[path];