From c464cc63763186207fe749d434bfc8c48adf1295 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 23 Oct 2016 17:36:35 +0100 Subject: [PATCH] mount: fix alignment of 64 bit counter on ARM #813 --- cmd/mount/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mount/file.go b/cmd/mount/file.go index 965f15a74..4d31fcf8a 100644 --- a/cmd/mount/file.go +++ b/cmd/mount/file.go @@ -16,8 +16,8 @@ import ( // File represents a file type File struct { + size int64 // size of file - read and written with atomic int64 - must be 64 bit aligned d *Dir // parent directory - read only - size int64 // size of file - read and written with atomic mu sync.RWMutex // protects the following o fs.Object // NB o may be nil if file is being written writers int // number of writers for this file