summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs
diff options
context:
space:
mode:
authorZhaozhong Ni <nzz@google.com>2018-10-15 09:30:49 -0700
committerShentubot <shentubot@google.com>2018-10-15 09:31:32 -0700
commit4ea69fce8def9e030cbbc4d803b95e632175750c (patch)
treeec26d90ee212c76e09365d8e95235491bd92f1f8 /pkg/sentry/fs
parent47d3862c33b7b74b451ea71139abdea34d5b46bd (diff)
sentry: save fs.Dirent deleted info.
PiperOrigin-RevId: 217155458 Change-Id: Id3265b1ec784787039e2131c80254ac4937330c7
Diffstat (limited to 'pkg/sentry/fs')
-rw-r--r--pkg/sentry/fs/dirent.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/dirent.go b/pkg/sentry/fs/dirent.go
index dd2b4e589..7191c5c30 100644
--- a/pkg/sentry/fs/dirent.go
+++ b/pkg/sentry/fs/dirent.go
@@ -119,7 +119,7 @@ type Dirent struct {
parent *Dirent
// deleted may be set atomically when removed.
- deleted int32 `state:"nosave"`
+ deleted int32
// frozen indicates this entry can't walk to unknown nodes.
frozen bool