mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-22 04:10:48 +00:00
BUG/MINOR: shctx: Remove old HA_SPIN_INIT
The shctx lock was changed from a SPINLOCK to a RWLOCK in commit ed35b94
"MEDIUM: cache: Switch shctx spinlock to rwlock and restrict its scope"
but a SPIN_INIT was left behind.
This patch does not need to be backported.
This commit is contained in:
parent
5ed101e09c
commit
d5cce92a46
@ -292,7 +292,6 @@ int shctx_init(struct shared_context **orig_shctx, int maxblocks, int blocksize,
|
||||
goto err;
|
||||
}
|
||||
|
||||
HA_SPIN_INIT(&shctx->lock);
|
||||
shctx->nbav = 0;
|
||||
|
||||
LIST_INIT(&shctx->avail);
|
||||
|
Loading…
Reference in New Issue
Block a user