Commit f3956ca1 authored by Aaron Jacobs's avatar Aaron Jacobs

Fixed some Linux build errors.

parent 23cab6ad
package fuseshim package fusekernel
import "time" import "time"
type attr struct { type Attr struct {
Ino uint64 Ino uint64
Size uint64 Size uint64
Blocks uint64 Blocks uint64
...@@ -21,31 +21,31 @@ type attr struct { ...@@ -21,31 +21,31 @@ type attr struct {
padding uint32 padding uint32
} }
func (a *attr) Crtime() time.Time { func (a *Attr) Crtime() time.Time {
return time.Time{} return time.Time{}
} }
func (a *attr) SetCrtime(s uint64, ns uint32) { func (a *Attr) SetCrtime(s uint64, ns uint32) {
// Ignored on Linux. // Ignored on Linux.
} }
func (a *attr) SetFlags(f uint32) { func (a *Attr) SetFlags(f uint32) {
// Ignored on Linux. // Ignored on Linux.
} }
type setattrIn struct { type SetattrIn struct {
setattrInCommon setattrInCommon
} }
func (in *setattrIn) BkupTime() time.Time { func (in *SetattrIn) BkupTime() time.Time {
return time.Time{} return time.Time{}
} }
func (in *setattrIn) Chgtime() time.Time { func (in *SetattrIn) Chgtime() time.Time {
return time.Time{} return time.Time{}
} }
func (in *setattrIn) Flags() uint32 { func (in *SetattrIn) Flags() uint32 {
return 0 return 0
} }
...@@ -61,10 +61,10 @@ func openFlags(flags uint32) OpenFlags { ...@@ -61,10 +61,10 @@ func openFlags(flags uint32) OpenFlags {
return OpenFlags(flags) return OpenFlags(flags)
} }
type getxattrIn struct { type GetxattrIn struct {
getxattrInCommon getxattrInCommon
} }
type setxattrIn struct { type SetxattrIn struct {
setxattrInCommon setxattrInCommon
} }
package bazilfuse package fuseshim
import ( import (
"bytes" "bytes"
......
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