diff options
author | Simon Rettberg | 2015-01-27 19:39:04 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-01-27 19:39:04 +0100 |
commit | 2b722b756864b14b6299a8b24067a37e12aabfc4 (patch) | |
tree | c73c47c7f4a8a9a24f218ca865176c3b237687a4 /src/server/globals.h | |
parent | [SERVER] Crank up warning levels of gcc and fix them all (mostly sign compare... (diff) | |
download | dnbd3-2b722b756864b14b6299a8b24067a37e12aabfc4.tar.gz dnbd3-2b722b756864b14b6299a8b24067a37e12aabfc4.tar.xz dnbd3-2b722b756864b14b6299a8b24067a37e12aabfc4.zip |
[SERVER] Fix automatic proxying to use supplied connection; fix race condition in uplink_init
Diffstat (limited to 'src/server/globals.h')
-rw-r--r-- | src/server/globals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/globals.h b/src/server/globals.h index 1edf44f..2ea1c43 100644 --- a/src/server/globals.h +++ b/src/server/globals.h @@ -107,7 +107,7 @@ struct _dnbd3_image int rid; // revision of image int users; // clients currently using this image time_t atime; // last access time - bool working; // true if image exists and completeness is == 100% or a working upstream proxy is connected + volatile bool working; // true if image exists and completeness is == 100% or a working upstream proxy is connected pthread_spinlock_t lock; }; |