Fix comments of TODO issues.

This commit is contained in:
Craig Chi 2020-09-09 16:44:35 -07:00 committed by Andrei Vagin
parent d459bb3372
commit 70cfea2377
2 changed files with 3 additions and 3 deletions

View File

@ -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
}

View File

@ -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
}