Plumbing context.Context to DecRef() and Release().

context is passed to DecRef() and Release() which is
needed for SO_LINGER implementation.

PiperOrigin-RevId: 324672584
This commit is contained in:
Nayana Bidari
2020-08-03 13:36:05 -07:00
committed by gVisor bot
parent ef11bb936b
commit b2ae7ea1bb
252 changed files with 1711 additions and 1668 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ type fullFD struct {
}
// Release implements vfs.FileDescriptionImpl.Release.
func (fd *fullFD) Release() {
func (fd *fullFD) Release(context.Context) {
// noop
}
+1 -1
View File
@@ -47,7 +47,7 @@ type nullFD struct {
}
// Release implements vfs.FileDescriptionImpl.Release.
func (fd *nullFD) Release() {
func (fd *nullFD) Release(context.Context) {
// noop
}
+1 -1
View File
@@ -56,7 +56,7 @@ type randomFD struct {
}
// Release implements vfs.FileDescriptionImpl.Release.
func (fd *randomFD) Release() {
func (fd *randomFD) Release(context.Context) {
// noop
}
+1 -1
View File
@@ -48,7 +48,7 @@ type zeroFD struct {
}
// Release implements vfs.FileDescriptionImpl.Release.
func (fd *zeroFD) Release() {
func (fd *zeroFD) Release(context.Context) {
// noop
}