diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2018-08-14 10:33:53 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-08-14 10:34:56 -0700 |
commit | 66b0f3e15a60df21f67d37dc6e420d1825acacfe (patch) | |
tree | acbc517ef43714249d9c342141dec193d3ec56ad /pkg/p9/client_file.go | |
parent | dde836a91858ceee25dbe023263752b39ae21274 (diff) |
Fix bind() on overlays.
InodeOperations.Bind now returns a Dirent which will be cached in the Dirent
tree.
When an overlay is in-use, Bind cannot return the Dirent created by the upper
filesystem because the Dirent does not know about the overlay. Instead,
overlayBind must create a new overlay-aware Inode and Dirent and return that.
This is analagous to how Lookup and overlayLookup work.
PiperOrigin-RevId: 208670710
Change-Id: I6390affbcf94c38656b4b458e248739b4853da29
Diffstat (limited to 'pkg/p9/client_file.go')
0 files changed, 0 insertions, 0 deletions