[ARVADOS] updated: 2.1.0-1141-gd941fb925
Git user
git at public.arvados.org
Tue Aug 3 16:10:28 UTC 2021
Summary of changes:
sdk/go/arvados/fs_base.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via d941fb925f6f1b37a92eb4195c9da0c1df1693fc (commit)
from f5a518f3b72f8003793d617708974e30b2186b2c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit d941fb925f6f1b37a92eb4195c9da0c1df1693fc
Author: Tom Clegg <tom at tomclegg.ca>
Date: Tue Aug 3 11:46:20 2021 -0400
Fix map write when only RLock held.
Similar to dd8ae798774d29b35532b99b78cae67a151654be.
No issue #
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>
diff --git a/sdk/go/arvados/fs_base.go b/sdk/go/arvados/fs_base.go
index 4dd8b53e1..5f2747ac9 100644
--- a/sdk/go/arvados/fs_base.go
+++ b/sdk/go/arvados/fs_base.go
@@ -680,8 +680,8 @@ func rlookup(start inode, path string) (node inode, err error) {
}
}
node, err = func() (inode, error) {
- node.RLock()
- defer node.RUnlock()
+ node.Lock()
+ defer node.Unlock()
return node.Child(name, nil)
}()
if node == nil || err != nil {
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list