Updated golang/x/net. Also updated golang.org/x/sys, as required by

hack/lint-dependencies.sh.
This commit is contained in:
Chao Xu
2020-10-31 16:21:08 -07:00
parent 24a9d07bf8
commit ec6e232126
225 changed files with 5186 additions and 8241 deletions

View File

@@ -16,3 +16,9 @@ func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
_, err := fcntl(int(fd), cmd, int(uintptr(unsafe.Pointer(lk))))
return err
}
// FcntlFstore performs a fcntl syscall for the F_PREALLOCATE command.
func FcntlFstore(fd uintptr, cmd int, fstore *Fstore_t) error {
_, err := fcntl(int(fd), cmd, int(uintptr(unsafe.Pointer(fstore))))
return err
}