summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/restore.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/restore.go')
-rw-r--r--pkg/sentry/fs/restore.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkg/sentry/fs/restore.go b/pkg/sentry/fs/restore.go
index da2df7e1d..a6645b41e 100644
--- a/pkg/sentry/fs/restore.go
+++ b/pkg/sentry/fs/restore.go
@@ -41,8 +41,11 @@ type MountArgs struct {
// Flags corresponds to the flags argument of Mount.
Flags MountSourceFlags
- // Data corresponds to the data argument of Mount.
- Data string
+ // DataString corresponds to the data argument of Mount.
+ DataString string
+
+ // DataObj corresponds to the data interface argument of Mount.
+ DataObj interface{}
}
// restoreEnv holds the fs package global RestoreEnvironment.