fsImpl.OpenFile

geesefs-0-30-9
Aaron Jacobs 2015-03-31 09:50:01 +11:00
parent 50cda17355
commit 8e04b7d848
1 changed files with 14 additions and 0 deletions

View File

@ -267,3 +267,17 @@ func (fs *fsImpl) GetInodeAttributes(
return
}
func (fs *fsImpl) OpenFile(
op *fuseops.OpenFileOp) {
var err error
defer fuseutil.RespondToOp(op, &err)
fs.mu.Lock()
defer fs.mu.Unlock()
// Verify that the inode has not been forgotten.
_ = fs.findInodeByID(op.Inode)
return
}