diff options
author | Chong Cai <chongc@google.com> | 2021-08-11 19:06:12 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-08-11 19:09:05 -0700 |
commit | 5456fa6477eee26c553aa84311b3044f1af0d9a1 (patch) | |
tree | 77700c7827afc15f092ed27c57b7efb631bcf8a3 /test/runtimes/proctor/main.go | |
parent | d51bc877f40d2acbf5b83895f636186c87463ab1 (diff) |
Popluate verity directory children names
We were relying on children adding its name to parent's dentry to
populate parent's children list. However, this may not work since the
parent dentry could be destroyed if its reference count drops to zero.
In that case, a new dentry will be created when enabling the parent and
it does not contain the children names info. Therefore we need to
populate the child names list again to avoid missing children in the
directory.
PiperOrigin-RevId: 390270227
Diffstat (limited to 'test/runtimes/proctor/main.go')
0 files changed, 0 insertions, 0 deletions