mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Support VFS2 save/restore.
Inode number consistency checks are now skipped in save/restore tests for reasons described in greatest detail in StatTest.StateDoesntChangeAfterRename. They pass in VFS1 due to the bug described in new test case SimpleStatTest.DifferentFilesHaveDifferentDeviceInodeNumberPairs. Fixes #1663 PiperOrigin-RevId: 338776148
This commit is contained in:
@@ -35,6 +35,8 @@ import (
|
||||
|
||||
// SocketVFS2 encapsulates all the state needed to represent a network stack
|
||||
// endpoint in the kernel context.
|
||||
//
|
||||
// +stateify savable
|
||||
type SocketVFS2 struct {
|
||||
vfsfd vfs.FileDescription
|
||||
vfs.FileDescriptionDefaultImpl
|
||||
|
||||
Reference in New Issue
Block a user