dd9309c15e
Initial vendor list validated with empty $GOPATH and only master checked out; followed by `make` and verified that all binaries build properly. Updates require github.com/LK4D4/vndr tool. Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
11 lines
198 B
Go
11 lines
198 B
Go
package btrfs
|
|
|
|
import "syscall"
|
|
|
|
func ioctl(fd, request, args uintptr) error {
|
|
_, _, errno := syscall.Syscall(syscall.SYS_IOCTL, fd, request, args)
|
|
if errno != 0 {
|
|
return errno
|
|
}
|
|
return nil
|
|
}
|