summaryrefslogtreecommitdiffhomepage
path: root/pkg/lisafs
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-11-08 19:40:31 +0000
committergVisor bot <gvisor-bot@google.com>2021-11-08 19:40:31 +0000
commit99b9b89692af3398230ec5bea3d5f90fc7e429c2 (patch)
tree19879d7ecfacf7e84d00f795f85fcf435f136e54 /pkg/lisafs
parent561a12c8513f713502e9eb007cfaa764e9c64106 (diff)
parent49d23beb283d0306c9ccf5300e73517153ddd3c2 (diff)
Merge release-20211101.0-25-g49d23beb2 (automated)
Diffstat (limited to 'pkg/lisafs')
-rw-r--r--pkg/lisafs/lisafs_abi_autogen_unsafe.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/pkg/lisafs/lisafs_abi_autogen_unsafe.go b/pkg/lisafs/lisafs_abi_autogen_unsafe.go
index 588992052..f0430ecae 100644
--- a/pkg/lisafs/lisafs_abi_autogen_unsafe.go
+++ b/pkg/lisafs/lisafs_abi_autogen_unsafe.go
@@ -266,7 +266,7 @@ func (f *FDID) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error) {
}
// WriteTo implements io.WriterTo.WriteTo.
-func (f *FDID) WriteTo(w io.Writer) (int64, error) {
+func (f *FDID) WriteTo(writer io.Writer) (int64, error) {
// Construct a slice backed by dst's underlying memory.
var buf []byte
hdr := (*reflect.SliceHeader)(unsafe.Pointer(&buf))
@@ -274,7 +274,7 @@ func (f *FDID) WriteTo(w io.Writer) (int64, error) {
hdr.Len = f.SizeBytes()
hdr.Cap = f.SizeBytes()
- length, err := w.Write(buf)
+ length, err := writer.Write(buf)
// Since we bypassed the compiler's escape analysis, indicate that f
// must live until the use above.
runtime.KeepAlive(f) // escapes: replaced by intrinsic.
@@ -1296,7 +1296,7 @@ func (gid *GID) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)
}
// WriteTo implements io.WriterTo.WriteTo.
-func (gid *GID) WriteTo(w io.Writer) (int64, error) {
+func (gid *GID) WriteTo(writer io.Writer) (int64, error) {
// Construct a slice backed by dst's underlying memory.
var buf []byte
hdr := (*reflect.SliceHeader)(unsafe.Pointer(&buf))
@@ -1304,7 +1304,7 @@ func (gid *GID) WriteTo(w io.Writer) (int64, error) {
hdr.Len = gid.SizeBytes()
hdr.Cap = gid.SizeBytes()
- length, err := w.Write(buf)
+ length, err := writer.Write(buf)
// Since we bypassed the compiler's escape analysis, indicate that gid
// must live until the use above.
runtime.KeepAlive(gid) // escapes: replaced by intrinsic.
@@ -1906,7 +1906,7 @@ func (m *MID) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error) {
}
// WriteTo implements io.WriterTo.WriteTo.
-func (m *MID) WriteTo(w io.Writer) (int64, error) {
+func (m *MID) WriteTo(writer io.Writer) (int64, error) {
// Construct a slice backed by dst's underlying memory.
var buf []byte
hdr := (*reflect.SliceHeader)(unsafe.Pointer(&buf))
@@ -1914,7 +1914,7 @@ func (m *MID) WriteTo(w io.Writer) (int64, error) {
hdr.Len = m.SizeBytes()
hdr.Cap = m.SizeBytes()
- length, err := w.Write(buf)
+ length, err := writer.Write(buf)
// Since we bypassed the compiler's escape analysis, indicate that m
// must live until the use above.
runtime.KeepAlive(m) // escapes: replaced by intrinsic.
@@ -3713,7 +3713,7 @@ func (uid *UID) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)
}
// WriteTo implements io.WriterTo.WriteTo.
-func (uid *UID) WriteTo(w io.Writer) (int64, error) {
+func (uid *UID) WriteTo(writer io.Writer) (int64, error) {
// Construct a slice backed by dst's underlying memory.
var buf []byte
hdr := (*reflect.SliceHeader)(unsafe.Pointer(&buf))
@@ -3721,7 +3721,7 @@ func (uid *UID) WriteTo(w io.Writer) (int64, error) {
hdr.Len = uid.SizeBytes()
hdr.Cap = uid.SizeBytes()
- length, err := w.Write(buf)
+ length, err := writer.Write(buf)
// Since we bypassed the compiler's escape analysis, indicate that uid
// must live until the use above.
runtime.KeepAlive(uid) // escapes: replaced by intrinsic.