Commit 36842ef6 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse: drop unused function

Change-Id: Icfae201b99d75b308ad5c4f3c96a0f5800127f62
parent 5b91e8f6
......@@ -10,10 +10,8 @@ import (
"fmt"
"log"
"os"
"reflect"
"syscall"
"time"
"unsafe"
)
func (code Status) String() string {
......@@ -65,15 +63,6 @@ func ToStatus(err error) Status {
return ENOSYS
}
func toSlice(dest *[]byte, ptr unsafe.Pointer, byteCount uintptr) {
h := (*reflect.SliceHeader)(unsafe.Pointer(dest))
*h = reflect.SliceHeader{
Data: uintptr(ptr),
Len: int(byteCount),
Cap: int(byteCount),
}
}
func CurrentOwner() *Owner {
return &Owner{
Uid: uint32(os.Getuid()),
......
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