virfile: Add extra check for direct delete in virFileRemove
Unlike create options, if the file to be removed is already in the pool, then the uid/gid will come from the pool. If it's the same as the currently running process, then just do the unlink/rmdir directly rather than going through the fork processing unnecessarily
Showing
想要评论请 注册 或 登录