summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/devpts/queue.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-05-18 14:24:47 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-18 14:26:09 -0700
commit20e6efd302746554c485028f9fc1f2fbf88b234e (patch)
treefff7cd0dcbf6015ebba23656a7fe5bbf0299878c /pkg/sentry/fsimpl/devpts/queue.go
parent99a18ec8b4cc98694b8bc61a35b360d5fca1a075 (diff)
Remove IfChange/ThenChange lint from VFS2
As new functionality is added to VFS2, corresponding files in VFS1 don't need to be changed. PiperOrigin-RevId: 312153799
Diffstat (limited to 'pkg/sentry/fsimpl/devpts/queue.go')
-rw-r--r--pkg/sentry/fsimpl/devpts/queue.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/sentry/fsimpl/devpts/queue.go b/pkg/sentry/fsimpl/devpts/queue.go
index 29a6be858..dffb4232c 100644
--- a/pkg/sentry/fsimpl/devpts/queue.go
+++ b/pkg/sentry/fsimpl/devpts/queue.go
@@ -25,8 +25,6 @@ import (
"gvisor.dev/gvisor/pkg/waiter"
)
-// LINT.IfChange
-
// waitBufMaxBytes is the maximum size of a wait buffer. It is based on
// TTYB_DEFAULT_MEM_LIMIT.
const waitBufMaxBytes = 131072
@@ -236,5 +234,3 @@ func (q *queue) waitBufAppend(b []byte) {
q.waitBuf = append(q.waitBuf, b)
q.waitBufLen += uint64(len(b))
}
-
-// LINT.ThenChange(../../fs/tty/queue.go)