diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-01-05 11:47:29 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-01-05 11:47:29 +0100 |
commit | 8af4f886e212346afdd1d40789f96f1321da96c5 (patch) | |
tree | 3203808fdabf24ff221fa227537ab587f06f4e96 /src/libstore/local-store.hh | |
parent | c51ee5c0336acb75392d5b7a4b3da7ccdfee3d9e (diff) |
Fix deadlock in LocalStore::addSignatures()
Fixes #4367.
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r-- | src/libstore/local-store.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index ae9497b2e..6d29c5960 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -235,6 +235,8 @@ private: void verifyPath(const Path & path, const StringSet & store, PathSet & done, StorePathSet & validPaths, RepairFlag repair, bool & errors); + std::shared_ptr<const ValidPathInfo> queryPathInfoInternal(State & state, const StorePath & path); + void updatePathInfo(State & state, const ValidPathInfo & info); void upgradeStore6(); |