Commit 3103bb22 authored by Aaron Jacobs's avatar Aaron Jacobs

Updated samples.

parent e59720bf
......@@ -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()
......
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