// GetParentDentryAt implements vfs.FilesystemImpl.GetParentDentryAt.
GetParentDentryAt implements vfs.FilesystemImpl.GetParentDentryAt.
// GetParentDentryAt implements vfs . FilesystemImpl . GetParentDentryAt .
func (fs *filesystem) GetParentDentryAt(ctx context.Context, rp *vfs.ResolvingPath) (*vfs.Dentry, error) {
	fs.mu.RLock()
	defer fs.mu.RUnlock()
	dir, err := walkParentDirLocked(ctx, rp, rp.Start().Impl().(*dentry))
	if err != nil {
		return nil, err
	}
	dir.dentry.IncRef()
	return &dir.dentry.vfsd, nil
}
func ( fs * filesystem ) GetParentDentryAt ( ctx context . Context , rp * vfs . ResolvingPath ) ( * vfs . Dentry , error ) { fs . mu . RLock ( ) defer fs . mu . RUnlock ( ) dir , err := walkParentDirLocked ( ctx , rp , rp . Start ( ) . Impl ( ) . ( * dentry ) ) if err != nil { return nil , err } dir . dentry . IncRef ( ) return & dir . dentry . vfsd , nil }
GetParentDentryAt implements vfs.FilesystemImpl.GetParentDentryAt.
GetParentDentryAt implements vfs . FilesystemImpl . GetParentDentryAt .