Added support for Init in hellofs.

geesefs-0-30-9
Aaron Jacobs 2015-03-24 15:49:26 +11:00
parent a6638727cc
commit 3dcd942c33
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ func (fs *helloFS) serve(c *fuse.Connection) {
}
switch typed := op.(type) {
case *fuseops.InitOp:
fs.init(typed)
default:
typed.Respond(fuse.ENOSYS)
}