Fixed more build errors.
parent
9b9a86cf80
commit
20a01b67ef
4
ops.go
4
ops.go
|
@ -34,7 +34,7 @@ func kernelResponse(
|
||||||
// If the user replied with an error, create room enough just for the result
|
// If the user replied with an error, create room enough just for the result
|
||||||
// header and fill it in with an error. Otherwise create an appropriate
|
// header and fill it in with an error. Otherwise create an appropriate
|
||||||
// response.
|
// response.
|
||||||
var b *buffer.OutMessage
|
var b buffer.OutMessage
|
||||||
if opErr != nil {
|
if opErr != nil {
|
||||||
b = buffer.NewOutMessage(0)
|
b = buffer.NewOutMessage(0)
|
||||||
if errno, ok := opErr.(syscall.Errno); ok {
|
if errno, ok := opErr.(syscall.Errno); ok {
|
||||||
|
@ -60,7 +60,7 @@ func kernelResponse(
|
||||||
// op.
|
// op.
|
||||||
func kernelResponseForOp(
|
func kernelResponseForOp(
|
||||||
op fuseops.Op,
|
op fuseops.Op,
|
||||||
protocol fusekernel.Protocol) (b *buffer.OutMessage) {
|
protocol fusekernel.Protocol) (b buffer.OutMessage) {
|
||||||
// Create the appropriate output message
|
// Create the appropriate output message
|
||||||
switch o := op.(type) {
|
switch o := op.(type) {
|
||||||
case *fuseops.LookUpInodeOp:
|
case *fuseops.LookUpInodeOp:
|
||||||
|
|
Loading…
Reference in New Issue