containerd/vendor/github.com/hanwen/go-fuse/v2/fuse/syscall_linux.go
Brad Davidson 890953d3c6
Enable btrfs/fuse-overlayfs/stargz snapshotter plugins
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-05-06 22:38:41 +00:00

15 lines
318 B
Go

// Copyright 2016 the Go-FUSE Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package fuse
import (
"golang.org/x/sys/unix"
)
func writev(fd int, packet [][]byte) (n int, err error) {
n, err = unix.Writev(fd, packet)
return
}