Fix locking issues in name cache
Avoid concurrent duplicate calls to backend.GetNameEntry(). This avoids
duplicate work but holds a write lock for the duration.
Ensure we unlock in error path in Sync.
Signed-off-by:
Sean Young <sean.young@monax.io>
Loading
Please register or sign in to comment