fix: the total used vnode number not increased after unlink a file under
/dev/ fix #I3TS1Y Signed-off-by: yansira <yansira@hotmail.com>
This commit is contained in:
parent
d632356413
commit
4f514a16af
|
@ -642,6 +642,7 @@ int VnodeDestory(struct Vnode *vnode)
|
||||||
|
|
||||||
free(vnode->data);
|
free(vnode->data);
|
||||||
free(vnode);
|
free(vnode);
|
||||||
|
g_totalVnodeSize--;
|
||||||
VnodeDrop();
|
VnodeDrop();
|
||||||
|
|
||||||
return LOS_OK;
|
return LOS_OK;
|
||||||
|
|
Loading…
Reference in New Issue