// MkdirAt implements vfs.FilesystemImpl.MkdirAt.
MkdirAt implements vfs.FilesystemImpl.MkdirAt.
// MkdirAt implements vfs . FilesystemImpl . MkdirAt .
func (fs *filesystem) MkdirAt(ctx context.Context, rp *vfs.ResolvingPath, opts vfs.MkdirOptions) error {
	return fs.doCreateAt(ctx, rp, true , func(parentDir *directory, name string) error {
		creds := rp.Credentials()
		if parentDir.inode.nlink == maxLinks {
			return syserror.EMLINK
		}
		parentDir.inode.incLinksLocked() 
		childDir := fs.newDirectory(creds.EffectiveKUID, creds.EffectiveKGID, opts.Mode, parentDir)
		parentDir.insertChildLocked(&childDir.dentry, name)
		return nil
	})
}
func ( fs * filesystem ) MkdirAt ( ctx context . Context , rp * vfs . ResolvingPath , opts vfs . MkdirOptions ) error { return fs . doCreateAt ( ctx , rp , true , func ( parentDir * directory , name string ) error { creds := rp . Credentials ( ) if parentDir . inode . nlink == maxLinks { return syserror . EMLINK } parentDir . inode . incLinksLocked ( ) childDir := fs . newDirectory ( creds . EffectiveKUID , creds . EffectiveKGID , opts . Mode , parentDir ) parentDir . insertChildLocked ( & childDir . dentry , name ) return nil } ) }
MkdirAt implements vfs.FilesystemImpl.MkdirAt.
MkdirAt implements vfs . FilesystemImpl . MkdirAt .
/* dir */ // from child's ".."