diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-06-21 19:04:36 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-06-21 19:04:36 +0000 |
commit | b42e4cc6700029d0fa8eea57c57c0acbee181596 (patch) | |
tree | 8f3d665b8430f07d2cb2db3a1393ec8c6ffcb28c /pkg | |
parent | 9836bf11b6aec373bd73142e6dc3965b46d0e363 (diff) | |
parent | f94653b3dea629f365ce5742b99bbcaa7673ded2 (diff) |
Merge f94653b3 (automated)
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/sentry/kernel/task.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/task.go b/pkg/sentry/kernel/task.go index 7ed589a02..c297c5973 100644 --- a/pkg/sentry/kernel/task.go +++ b/pkg/sentry/kernel/task.go @@ -703,8 +703,8 @@ func (t *Task) FDMap() *FDMap { // WithMuLocked executes f with t.mu locked. func (t *Task) WithMuLocked(f func(*Task)) { t.mu.Lock() - defer t.mu.Unlock() f(t) + t.mu.Unlock() } // MountNamespace returns t's MountNamespace. MountNamespace does not take an |