Update c/storage vendor to v1.10 release

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
Matthew Heon
2019-02-20 17:53:09 -05:00
parent 4de0bf9c74
commit 86dd25ae48
13 changed files with 203 additions and 89 deletions

View File

@@ -23,6 +23,11 @@ func (l *lockfile) Lock() {
l.locked = true
}
func (l *lockfile) RLock() {
l.mu.Lock()
l.locked = true
}
func (l *lockfile) Unlock() {
l.locked = false
l.mu.Unlock()