mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 00:06:32 +00:00
删除文件夹时回收dentry缓存
This commit is contained in:
@ -38,4 +38,12 @@ static inline bool is_local_mountpoint(struct vfs_dir_entry_t *dentry)
|
||||
*
|
||||
* @param dentry 目标dentry
|
||||
*/
|
||||
void vfs_dentry_put(struct vfs_dir_entry_t * dentry);
|
||||
void vfs_dentry_put(struct vfs_dir_entry_t * dentry);
|
||||
|
||||
/**
|
||||
* @brief 释放inode
|
||||
*
|
||||
* @param inode 待释放的inode
|
||||
* @return int 错误码
|
||||
*/
|
||||
int vfs_free_inode(struct vfs_index_node_t * inode);
|
Reference in New Issue
Block a user