mirror of
https://github.com/rclone/rclone.git
synced 2025-02-08 22:50:04 +01:00
mount: fix alignment of 64 bit counter on ARM #813
This commit is contained in:
parent
93e84403bb
commit
c464cc6376
@ -16,8 +16,8 @@ import (
|
|||||||
|
|
||||||
// File represents a file
|
// File represents a file
|
||||||
type File struct {
|
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
|
d *Dir // parent directory - read only
|
||||||
size int64 // size of file - read and written with atomic
|
|
||||||
mu sync.RWMutex // protects the following
|
mu sync.RWMutex // protects the following
|
||||||
o fs.Object // NB o may be nil if file is being written
|
o fs.Object // NB o may be nil if file is being written
|
||||||
writers int // number of writers for this file
|
writers int // number of writers for this file
|
||||||
|
Loading…
Reference in New Issue
Block a user