Mark sync.Mutex in TTYFileOperations as nosave
PiperOrigin-RevId: 225621767 Change-Id: Ie3a42cdf0b0de22a020ff43e307bf86409cff329
This commit is contained in:
parent
e1dcf92ec5
commit
3cf84e3bef
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue