Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/fuse/fuse_vnops.c
Show First 20 Lines • Show All 1,531 Lines • ▼ Show 20 Lines | fuse_vnop_reclaim(struct vop_reclaim_args *ap) | ||||
if ((!fuse_isdeadfs(vp)) && (fvdat->nlookup)) { | if ((!fuse_isdeadfs(vp)) && (fvdat->nlookup)) { | ||||
fuse_internal_forget_send(vnode_mount(vp), td, NULL, VTOI(vp), | fuse_internal_forget_send(vnode_mount(vp), td, NULL, VTOI(vp), | ||||
fvdat->nlookup); | fvdat->nlookup); | ||||
} | } | ||||
fuse_vnode_setparent(vp, NULL); | fuse_vnode_setparent(vp, NULL); | ||||
cache_purge(vp); | cache_purge(vp); | ||||
vfs_hash_remove(vp); | vfs_hash_remove(vp); | ||||
vnode_destroy_vobject(vp); | |||||
fuse_vnode_destroy(vp); | fuse_vnode_destroy(vp); | ||||
return 0; | return 0; | ||||
} | } | ||||
/* | /* | ||||
struct vnop_remove_args { | struct vnop_remove_args { | ||||
struct vnode *a_dvp; | struct vnode *a_dvp; | ||||
▲ Show 20 Lines • Show All 915 Lines • Show Last 20 Lines |