Fix comments of TODO issues.
This commit is contained in:
parent
d459bb3372
commit
70cfea2377
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue