diff options
author | Jamie Liu <jamieliu@google.com> | 2019-03-14 07:42:13 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-03-14 07:43:15 -0700 |
commit | fb9919881c7dc98eaf97cad2a70d187bd78f1566 (patch) | |
tree | 1363590a38034389eefcab2d5163668f7b74454f /pkg/sentry/fs/proc/cpuinfo.go | |
parent | 2512cc561778b096459182b531eae4e0797e4ec5 (diff) |
Use WalkGetAttr in gofer.inodeOperations.Create.
p9.Twalk.handle() with a non-empty path also stats the walked-to path
anyway, so the preceding GetAttr is completely wasted.
PiperOrigin-RevId: 238440645
Change-Id: I7fbc7536f46b8157639d0d1f491e6aaa9ab688a3
Diffstat (limited to 'pkg/sentry/fs/proc/cpuinfo.go')
0 files changed, 0 insertions, 0 deletions