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