Commit 8e04b7d8 authored by Aaron Jacobs's avatar Aaron Jacobs

fsImpl.OpenFile

parent 50cda173
......@@ -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
}
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