[ARVADOS] updated: e386d20665a2bf9a59e314ad9efa5fddfffb8058
git at public.curoverse.com
git at public.curoverse.com
Fri Aug 22 10:44:50 EDT 2014
Summary of changes:
services/keepstore/volume_unix.go | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
via e386d20665a2bf9a59e314ad9efa5fddfffb8058 (commit)
from 3616a53916b7e9302bb232f64263cfe140b03fc7 (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 e386d20665a2bf9a59e314ad9efa5fddfffb8058
Author: Tim Pierce <twp at curoverse.com>
Date: Thu Aug 21 19:00:18 2014 -0400
3448: add error checking in volume.Touch()
Add error checking that was erroneously left out of previous commit.
Refs #3448.
diff --git a/services/keepstore/volume_unix.go b/services/keepstore/volume_unix.go
index 0cebe43..f439978 100644
--- a/services/keepstore/volume_unix.go
+++ b/services/keepstore/volume_unix.go
@@ -103,7 +103,9 @@ func (v *UnixVolume) Touch(loc string) error {
if err != nil {
return err
}
- lockfile(f)
+ if e := lockfile(f); e != nil {
+ return e
+ }
defer unlockfile(f)
now := time.Now().Unix()
utime := syscall.Utimbuf{now, now}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list