diff options
author | Dean Deng <deandeng@google.com> | 2020-08-05 18:15:01 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-05 18:16:57 -0700 |
commit | 7ed4b2b5a6928b3a4a88d0117a764dd4795be61a (patch) | |
tree | 70002659313bf61bc82cc7cb6be653208f221e0b /pkg/sentry/vfs/device.go | |
parent | ce463c027b0d3cbcf3b9d3e2a5ad598c0249212f (diff) |
Correctly decrement link counts in tmpfs rename operations.
When a directory is replaced by a rename operation, its link count should
reach zero. We were missing the link from `dir/.`
PiperOrigin-RevId: 325141730
Diffstat (limited to 'pkg/sentry/vfs/device.go')
0 files changed, 0 insertions, 0 deletions