!295 修复删除/dev目录下的文件但是vnode number没有减小的问题
Merge pull request !295 from LeonChan/lc-bugfix-vnode
This commit is contained in:
commit
a580754751
|
@ -642,6 +642,7 @@ int VnodeDestory(struct Vnode *vnode)
|
|||
|
||||
free(vnode->data);
|
||||
free(vnode);
|
||||
g_totalVnodeSize--;
|
||||
VnodeDrop();
|
||||
|
||||
return LOS_OK;
|
||||
|
|
Loading…
Reference in New Issue