diff options
author | 2021-03-02 15:49:36 -0800 | |
---|---|---|
committer | 2021-03-03 09:12:10 -0800 | |
commit | 1cb959d16212aa04eba53ed50f78a80f6985ff37 (patch) | |
tree | 2396ce25b3210d64041833939308c84ec0ad73d0 /cmds/installd/QuotaUtils.cpp | |
parent | e9b81a40004a1996f57976d30b99749abcf89580 (diff) | |
parent | e00110e131056db6e05b403f55e8952508f5be39 (diff) |
Merge RQ2A.210305.007
Bug: 180401296
Merged-In: I2f7cee6cdae4b16c5adeb7af751a591a939948e2
Change-Id: I6c6bab18dc342c4456e8fd2db35173568fab1407
Diffstat (limited to 'cmds/installd/QuotaUtils.cpp')
-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]; |