// SetStatAt implements vfs.FilesystemImpl.SetStatAt.
SetStatAt implements vfs.FilesystemImpl.SetStatAt.
// SetStatAt implements vfs . FilesystemImpl . SetStatAt .
func (fs *filesystem) SetStatAt(ctx context.Context, rp *vfs.ResolvingPath, opts vfs.SetStatOptions) error {
	fs.mu.RLock()
	d, err := resolveLocked(ctx, rp)
	if err != nil {
		fs.mu.RUnlock()
		return err
	}
	err = d.inode.setStat(ctx, rp.Credentials(), &opts)
	fs.mu.RUnlock()
	if err != nil {
		return err
	}
	if ev := vfs.InotifyEventFromStatMask(opts.Stat.Mask); ev != 0 {
		d.InotifyWithParent(ctx, ev, 0, vfs.InodeEvent)
	}
	return nil
}
func ( fs * filesystem ) SetStatAt ( ctx context . Context , rp * vfs . ResolvingPath , opts vfs . SetStatOptions ) error { fs . mu . RLock ( ) d , err := resolveLocked ( ctx , rp ) if err != nil { fs . mu . RUnlock ( ) return err } err = d . inode . setStat ( ctx , rp . Credentials ( ) , & opts ) fs . mu . RUnlock ( ) if err != nil { return err } if ev := vfs . InotifyEventFromStatMask ( opts . Stat . Mask ) ; ev != 0 { d . InotifyWithParent ( ctx , ev , 0 , vfs . InodeEvent ) } return nil }
SetStatAt implements vfs.FilesystemImpl.SetStatAt.
SetStatAt implements vfs . FilesystemImpl . SetStatAt .