Updated samples.

geesefs-0-30-9
Aaron Jacobs 2015-06-22 12:31:25 +10:00
parent e59720bfb0
commit 3103bb22a1
6 changed files with 0 additions and 29 deletions

View File

@ -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) {

View File

@ -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()

View File

@ -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()

View File

@ -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]

View File

@ -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.

View File

@ -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()