# | Line 17 | Line 17 | void Mounter::operator()() | |
---|---|---|
17 | { | |
18 | bool password(false); | |
19 | ||
20 | + | // XXX: _unsynchronized |
21 | + | _synchronized (Daemon::secretLock) |
22 | { | |
23 | api::FileReader in(Daemon::secret); | |
24 | ext::String line; | |
# | Line 29 | Line 31 | void Mounter::operator()() | |
31 | } | |
32 | } | |
33 | ||
34 | < | if (!password) |
34 | > | if (!password) _synchronized (Daemon::secretLock) |
35 | { | |
36 | AppendFileWriter out(Daemon::secret); | |
37 | ios::FormatWriter fout(out); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |