Filled in LookUpInodeOp.

geesefs-0-30-9
Aaron Jacobs 2015-03-24 14:48:42 +11:00
parent 2167bec8a2
commit 1cfd10be87
1 changed files with 4 additions and 5 deletions

View File

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