diff options
author | Dean Deng <deandeng@google.com> | 2020-11-06 12:59:44 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-06 13:02:35 -0800 |
commit | bcd883f095d62ef790889e5516adc4f437512726 (patch) | |
tree | 774da6a2bbf55e00f7729e1c916e4e1962bf245e /pkg/safemem/block_unsafe.go | |
parent | 53eeb06ef14915eee799e9d7d59603ed2a0fe1c1 (diff) |
Avoid extra DecRef on kernfs root for "kept" dentries.
The root dentry was not created through Inode.Lookup, so we should not
release a reference even if inode.Keep() is true.
PiperOrigin-RevId: 341103220
Diffstat (limited to 'pkg/safemem/block_unsafe.go')
0 files changed, 0 insertions, 0 deletions