Commit 1cfd10be authored by Aaron Jacobs's avatar Aaron Jacobs

Filled in LookUpInodeOp.

parent 2167bec8
...@@ -30,17 +30,16 @@ import ( ...@@ -30,17 +30,16 @@ import (
func Convert(r bazilfuse.Request) (o Op) { func Convert(r bazilfuse.Request) (o Op) {
var co *commonOp var co *commonOp
switch r.(type) { switch typed := r.(type) {
case *bazilfuse.InitRequest: case *bazilfuse.InitRequest:
to := &InitOp{ to := &InitOp{}
//TODO
}
o = to o = to
co = &to.commonOp co = &to.commonOp
case *bazilfuse.LookupRequest: case *bazilfuse.LookupRequest:
to := &LookUpInodeOp{ to := &LookUpInodeOp{
//TODO Parent: InodeID(typed.Header.Node),
Name: typed.Name,
} }
o = to o = to
co = &to.commonOp co = &to.commonOp
......
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