Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/cd9660/cd9660_node.c
Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | cd9660_reclaim(ap) | ||||
struct vop_reclaim_args /* { | struct vop_reclaim_args /* { | ||||
struct vnode *a_vp; | struct vnode *a_vp; | ||||
struct thread *a_td; | struct thread *a_td; | ||||
} */ *ap; | } */ *ap; | ||||
{ | { | ||||
struct vnode *vp = ap->a_vp; | struct vnode *vp = ap->a_vp; | ||||
/* | /* | ||||
* Destroy the vm object and flush associated pages. | |||||
*/ | |||||
vnode_destroy_vobject(vp); | |||||
/* | |||||
* Remove the inode from its hash chain. | * Remove the inode from its hash chain. | ||||
*/ | */ | ||||
vfs_hash_remove(vp); | vfs_hash_remove(vp); | ||||
/* | /* | ||||
* Purge old data structures associated with the inode. | * Purge old data structures associated with the inode. | ||||
*/ | */ | ||||
free(vp->v_data, M_ISOFSNODE); | free(vp->v_data, M_ISOFSNODE); | ||||
▲ Show 20 Lines • Show All 225 Lines • Show Last 20 Lines |