diff options
| author | Sreelakshmi Gownipalli <sgownipa@codeaurora.org> | 2018-01-23 13:11:41 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-03-19 13:09:25 -0700 |
| commit | 6eb2f4f6fde1b210712d6ac66b40b9e7684d77db (patch) | |
| tree | fa3cf680cca1324536d27a2feaf194cf87c866ac /lib/zstd/compress.c | |
| parent | d99718532dba3d82158739ba43a21c728356500e (diff) | |
diag: Protect the decrement of number of diag clients
In diagchar_open() protect the decrement of number of diag clients
so that there will be no race conditions while reading the value
from other functions.
Change-Id: I0e2fb5331eec9c7bba39e7d881b69559256833a3
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
Diffstat (limited to 'lib/zstd/compress.c')
0 files changed, 0 insertions, 0 deletions
