Mark sync.Mutex in TTYFileOperations as nosave

PiperOrigin-RevId: 225621767
Change-Id: Ie3a42cdf0b0de22a020ff43e307bf86409cff329
This commit is contained in:
Andrei Vagin 2018-12-14 16:23:03 -08:00 committed by Shentubot
parent e1dcf92ec5
commit 3cf84e3bef
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ type TTYFileOperations struct {
fileOperations
// mu protects the fields below.
mu sync.Mutex
mu sync.Mutex `state:"nosave"`
// FGProcessGroup is the foreground process group this TTY. Will be
// nil if not set or if this file has been released.