summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-11-27 00:16:43 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-11-27 00:16:43 +0000
commit20522b21c6bb135216fd4eb5793b8bc0d893dbba (patch)
treea21d341aaf131120c9f9786fc9ce2a1d0a3745fd
parent4d307493934dc285ce3576c6027cafa633decce9 (diff)
parent2d5e05b44248e445af986ca8410c6e98c6ba3533 (diff)
downloadnative-20522b21c6bb135216fd4eb5793b8bc0d893dbba.tar.gz
Snap for 6997403 from 2d5e05b44248e445af986ca8410c6e98c6ba3533 to rvc-qpr2-release
Change-Id: I5d7542c93c44ee3eea37bc46dd9185a8acd4592b
-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 e0802911ca..60271392e9 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];