[BACK]Return to kernfs_vnops.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / miscfs / kernfs

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/miscfs/kernfs/kernfs_vnops.c between version 1.157 and 1.158

version 1.157, 2017/04/11 14:25:01 version 1.158, 2017/05/26 14:21:01
Line 1074  kernfs_inactive(void *v)
Line 1074  kernfs_inactive(void *v)
 int  int
 kernfs_reclaim(void *v)  kernfs_reclaim(void *v)
 {  {
         struct vop_reclaim_args /* {          struct vop_reclaim_v2_args /* {
                 struct vnode *a_vp;                  struct vnode *a_vp;
         } */ *ap = v;          } */ *ap = v;
         struct vnode *vp = ap->a_vp;          struct vnode *vp = ap->a_vp;
         struct kernfs_node *kfs = VTOKERN(vp);          struct kernfs_node *kfs = VTOKERN(vp);
   
           VOP_UNLOCK(vp);
   
         vp->v_data = NULL;          vp->v_data = NULL;
         mutex_enter(&kfs_lock);          mutex_enter(&kfs_lock);
         TAILQ_REMOVE(&VFSTOKERNFS(vp->v_mount)->nodelist, kfs, kfs_list);          TAILQ_REMOVE(&VFSTOKERNFS(vp->v_mount)->nodelist, kfs, kfs_list);

Legend:
Removed from v.1.157  
changed lines
  Added in v.1.158

CVSweb <webmaster@jp.NetBSD.org>