diff --git a/samples/cachingfs/caching_fs.go b/samples/cachingfs/caching_fs.go index e5e36ec..dc8e4d8 100644 --- a/samples/cachingfs/caching_fs.go +++ b/samples/cachingfs/caching_fs.go @@ -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) { diff --git a/samples/flushfs/flush_fs.go b/samples/flushfs/flush_fs.go index b208b7e..bf8c3c0 100644 --- a/samples/flushfs/flush_fs.go +++ b/samples/flushfs/flush_fs.go @@ -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() diff --git a/samples/forgetfs/forget_fs.go b/samples/forgetfs/forget_fs.go index 5275691..d8f47ea 100644 --- a/samples/forgetfs/forget_fs.go +++ b/samples/forgetfs/forget_fs.go @@ -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() diff --git a/samples/hellofs/hello_fs.go b/samples/hellofs/hello_fs.go index 30695d2..b07d1d4 100644 --- a/samples/hellofs/hello_fs.go +++ b/samples/hellofs/hello_fs.go @@ -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] diff --git a/samples/interruptfs/interrupt_fs.go b/samples/interruptfs/interrupt_fs.go index 78a2959..5960a32 100644 --- a/samples/interruptfs/interrupt_fs.go +++ b/samples/interruptfs/interrupt_fs.go @@ -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. diff --git a/samples/memfs/memfs.go b/samples/memfs/memfs.go index 7b97bec..544b516 100644 --- a/samples/memfs/memfs.go +++ b/samples/memfs/memfs.go @@ -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()