Updated samples.
parent
e59720bfb0
commit
3103bb22a1
|
@ -238,11 +238,6 @@ func (fs *cachingFS) SetMtime(mtime time.Time) {
|
|||
// FileSystem methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
func (fs *cachingFS) Init(
|
||||
op *fuseops.InitOp) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
// LOCKS_EXCLUDED(fs.mu)
|
||||
func (fs *cachingFS) LookUpInode(
|
||||
op *fuseops.LookUpInodeOp) (err error) {
|
||||
|
|
|
@ -92,11 +92,6 @@ func (fs *flushFS) barAttributes() fuseops.InodeAttributes {
|
|||
// FileSystem methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
func (fs *flushFS) Init(
|
||||
op *fuseops.InitOp) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (fs *flushFS) LookUpInode(
|
||||
op *fuseops.LookUpInodeOp) (err error) {
|
||||
fs.mu.Lock()
|
||||
|
|
|
@ -222,11 +222,6 @@ func (fs *fsImpl) findInodeByID(id fuseops.InodeID) (in *inode) {
|
|||
// FileSystem methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
func (fs *fsImpl) Init(
|
||||
op *fuseops.InitOp) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (fs *fsImpl) LookUpInode(
|
||||
op *fuseops.LookUpInodeOp) (err error) {
|
||||
fs.mu.Lock()
|
||||
|
|
|
@ -147,10 +147,6 @@ func (fs *helloFS) patchAttributes(
|
|||
attr.Crtime = now
|
||||
}
|
||||
|
||||
func (fs *helloFS) Init(op *fuseops.InitOp) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (fs *helloFS) LookUpInode(op *fuseops.LookUpInodeOp) (err error) {
|
||||
// Find the info for the parent.
|
||||
parentInfo, ok := gInodeInfo[op.Parent]
|
||||
|
|
|
@ -77,11 +77,6 @@ func (fs *InterruptFS) WaitForReadInFlight() {
|
|||
// FileSystem methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
func (fs *InterruptFS) Init(
|
||||
op *fuseops.InitOp) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (fs *InterruptFS) LookUpInode(
|
||||
op *fuseops.LookUpInodeOp) (err error) {
|
||||
// We support only one parent.
|
||||
|
|
|
@ -199,11 +199,6 @@ func (fs *memFS) deallocateInode(id fuseops.InodeID) {
|
|||
// FileSystem methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
func (fs *memFS) Init(
|
||||
op *fuseops.InitOp) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (fs *memFS) LookUpInode(
|
||||
op *fuseops.LookUpInodeOp) (err error) {
|
||||
fs.mu.Lock()
|
||||
|
|
Loading…
Reference in New Issue