!295 修复删除/dev目录下的文件但是vnode number没有减小的问题

Merge pull request !295 from LeonChan/lc-bugfix-vnode
This commit is contained in:
openharmony_ci 2021-06-04 21:50:32 +08:00 committed by Gitee
commit a580754751
1 changed files with 1 additions and 0 deletions

View File

@ -642,6 +642,7 @@ int VnodeDestory(struct Vnode *vnode)
free(vnode->data);
free(vnode);
g_totalVnodeSize--;
VnodeDrop();
return LOS_OK;