diff options
author | Mike Buland <mbuland@penny-arcade.com> | 2018-12-11 10:26:26 -0800 |
---|---|---|
committer | Mike Buland <mbuland@penny-arcade.com> | 2018-12-11 10:26:26 -0800 |
commit | 3f67108249b5c4f97841beee18fdd761919fe754 (patch) | |
tree | 81afeb5975690e63f99f2eba7f0abb0d91341152 /src/unstable/myriadfs.h | |
parent | 0cf743be2d6b351b1c09d240aa7a20443c8026ed (diff) | |
download | libbu++-3f67108249b5c4f97841beee18fdd761919fe754.tar.gz libbu++-3f67108249b5c4f97841beee18fdd761919fe754.tar.bz2 libbu++-3f67108249b5c4f97841beee18fdd761919fe754.tar.xz libbu++-3f67108249b5c4f97841beee18fdd761919fe754.zip |
Fixed MyriadFS path exists error.
Also started some FS related thread safety.
Diffstat (limited to '')
-rw-r--r-- | src/unstable/myriadfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unstable/myriadfs.h b/src/unstable/myriadfs.h index f9faf9a..5a79c39 100644 --- a/src/unstable/myriadfs.h +++ b/src/unstable/myriadfs.h | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <sys/types.h> | 11 | #include <sys/types.h> |
12 | 12 | ||
13 | #include "bu/myriad.h" | 13 | #include "bu/myriad.h" |
14 | #include "bu/readwritemutex.h" | ||
14 | 15 | ||
15 | namespace Bu | 16 | namespace Bu |
16 | { | 17 | { |
@@ -194,6 +195,7 @@ namespace Bu | |||
194 | private: | 195 | private: |
195 | Bu::Stream &rStore; | 196 | Bu::Stream &rStore; |
196 | Bu::Myriad mStore; | 197 | Bu::Myriad mStore; |
198 | Bu::ReadWriteMutex mNodeIndex; | ||
197 | NodeIndex hNodeIndex; | 199 | NodeIndex hNodeIndex; |
198 | int32_t iUser; | 200 | int32_t iUser; |
199 | int32_t iGroup; | 201 | int32_t iGroup; |