Commit 66031878 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Move FileSystemConnector.generation to be 64-bit aligned.

parent f3c7b798
......@@ -31,6 +31,10 @@ var paranoia = false
// To achieve this, the connector only needs a pointer to the root
// node.
type FileSystemConnector struct {
// Used as the generation inodes. This must be 64-bit aligned,
// for sync/atomic on i386 to work properly.
generation uint64
DefaultRawFileSystem
Debug bool
......@@ -45,9 +49,6 @@ type FileSystemConnector struct {
// The root of the FUSE file system.
rootNode *Inode
// Used as the generation inodes.
generation uint64
}
func NewFileSystemOptions() *FileSystemOptions {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment