mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Fix comments of TODO issues.
This commit is contained in:
@@ -663,7 +663,7 @@ func (r *FUSEMkdirIn) SizeBytes() int {
|
||||
type FUSERmDirIn struct {
|
||||
marshal.StubMarshallable
|
||||
|
||||
// Name is a directory name to be looked up.
|
||||
// Name is a directory name to be removed.
|
||||
Name string
|
||||
}
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ func (conn *connection) NewRequest(creds *auth.Credentials, pid uint32, ino uint
|
||||
|
||||
buf := make([]byte, hdr.Len)
|
||||
|
||||
// TODO(gVisor.dev/3698): Use the unsafe version once go_marshal is safe to use again.
|
||||
// TODO(gVisor.dev/issue/3698): Use the unsafe version once go_marshal is safe to use again.
|
||||
hdr.MarshalBytes(buf[:hdrLen])
|
||||
payload.MarshalBytes(buf[hdrLen:])
|
||||
|
||||
@@ -223,7 +223,7 @@ func (r *Response) UnmarshalPayload(m marshal.Marshallable) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// TODO(gVisor.dev/3698): Use the unsafe version once go_marshal is safe to use again.
|
||||
// TODO(gVisor.dev/issue/3698): Use the unsafe version once go_marshal is safe to use again.
|
||||
m.UnmarshalBytes(r.data[hdrLen:])
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user