diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-06-19 20:49:27 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-06-19 20:49:27 +0000 |
commit | 4d43018c2faf8259c1ad2bbc50b1e935692eff75 (patch) | |
tree | ceb5f7fcb43cf3269ee0272c4c192f3e5366fe59 | |
parent | 1e5ed4cba12a11bd3b02c1eefa0dd493b03e10fa (diff) | |
parent | 9d2efaac5af3618a637abe2dba23f63387dd086e (diff) |
Merge 9d2efaac (automated)
-rw-r--r-- | pkg/p9/server.go | 2 | ||||
-rwxr-xr-x | pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go | 4 | ||||
-rwxr-xr-x | pkg/sentry/platform/ring0/defs_impl.go | 2 | ||||
-rwxr-xr-x | pkg/sentry/time/seqatomic_parameters.go | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/pkg/p9/server.go b/pkg/p9/server.go index c3ab7dad1..bdeb495c2 100644 --- a/pkg/p9/server.go +++ b/pkg/p9/server.go @@ -264,7 +264,7 @@ func (f *fidRef) renameChildTo(oldName string, target *fidRef, newName string) { }) // Replace the previous (now deleted) path node. - f.pathNode.children.Store(newName, origPathNode) + target.pathNode.children.Store(newName, origPathNode) // Call Renamed on everything above. notifyNameChange(origPathNode) diff --git a/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go b/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go index 25ad17a4e..24528b66a 100755 --- a/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go +++ b/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go @@ -1,12 +1,12 @@ package kernel import ( - "fmt" - "reflect" "strings" "unsafe" + "fmt" "gvisor.dev/gvisor/third_party/gvsync" + "reflect" ) // SeqAtomicLoad returns a copy of *ptr, ensuring that the read does not race diff --git a/pkg/sentry/platform/ring0/defs_impl.go b/pkg/sentry/platform/ring0/defs_impl.go index d4bfc5a4a..ea3f514cd 100755 --- a/pkg/sentry/platform/ring0/defs_impl.go +++ b/pkg/sentry/platform/ring0/defs_impl.go @@ -1,10 +1,10 @@ package ring0 import ( + "gvisor.dev/gvisor/pkg/cpuid" "syscall" "fmt" - "gvisor.dev/gvisor/pkg/cpuid" "gvisor.dev/gvisor/pkg/sentry/platform/ring0/pagetables" "gvisor.dev/gvisor/pkg/sentry/usermem" "io" diff --git a/pkg/sentry/time/seqatomic_parameters.go b/pkg/sentry/time/seqatomic_parameters.go index 89792c56d..fb30a22c6 100755 --- a/pkg/sentry/time/seqatomic_parameters.go +++ b/pkg/sentry/time/seqatomic_parameters.go @@ -1,12 +1,12 @@ package time import ( - "fmt" - "reflect" "strings" "unsafe" + "fmt" "gvisor.dev/gvisor/third_party/gvsync" + "reflect" ) // SeqAtomicLoad returns a copy of *ptr, ensuring that the read does not race |