diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2020-11-27 00:16:43 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-11-27 00:16:43 +0000 |
commit | 20522b21c6bb135216fd4eb5793b8bc0d893dbba (patch) | |
tree | a21d341aaf131120c9f9786fc9ce2a1d0a3745fd | |
parent | 4d307493934dc285ce3576c6027cafa633decce9 (diff) | |
parent | 2d5e05b44248e445af986ca8410c6e98c6ba3533 (diff) | |
download | native-20522b21c6bb135216fd4eb5793b8bc0d893dbba.tar.gz |
Snap for 6997403 from 2d5e05b44248e445af986ca8410c6e98c6ba3533 to rvc-qpr2-release
Change-Id: I5d7542c93c44ee3eea37bc46dd9185a8acd4592b
-rw-r--r-- | cmds/installd/QuotaUtils.cpp | 2 |
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]; |