Commit 1343b8af authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Small comment fixes.

parent b0c96afa
...@@ -356,9 +356,7 @@ func (me *MountState) handle(req *fuseRequest) { ...@@ -356,9 +356,7 @@ func (me *MountState) handle(req *fuseRequest) {
me.discardFuseRequest(req) me.discardFuseRequest(req)
} }
func (me *MountState) dispatch(req *fuseRequest) { func (me *MountState) dispatch(req *fuseRequest) {
// TODO - would be nice to remove this logging from the critical path.
h := &req.inHeader h := &req.inHeader
input := newInput(h.Opcode) input := newInput(h.Opcode)
......
...@@ -467,6 +467,8 @@ func (me *PathFileSystemConnector) Forget(h *InHeader, input *ForgetIn) { ...@@ -467,6 +467,8 @@ func (me *PathFileSystemConnector) Forget(h *InHeader, input *ForgetIn) {
} }
func (me *PathFileSystemConnector) GetAttr(header *InHeader, input *GetAttrIn) (out *AttrOut, code Status) { func (me *PathFileSystemConnector) GetAttr(header *InHeader, input *GetAttrIn) (out *AttrOut, code Status) {
// TODO - do something intelligent with input.Fh.
// TODO - should we update inodeData.Type? // TODO - should we update inodeData.Type?
fullPath, mount := me.GetPath(header.NodeId) fullPath, mount := me.GetPath(header.NodeId)
if mount == nil { if mount == nil {
......
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